ProcessWrapper class

A wrapper around an io.Process class that adds some convenience methods.

Implemented types

Constructors

ProcessWrapper(Process _delegate)
Constructs a ProcessWrapper object that delegates to the specified underlying object.

Properties

done Future<int>
A Future that completes when the process has exited and its standard output and error streams have closed. [...]
read-only
exitCode Future<int>
Returns a Future which completes with the exit code of the process when the process completes. [...]
read-only, override
pid int
Returns the process id of the process.
read-only, override
stderr Stream<List<int>>
Returns the standard error stream of the process as a Stream.
read-only, override
stdin IOSink
Returns the standard input stream of the process as an IOSink.
read-only, override
stdout Stream<List<int>>
Returns the standard output stream of the process as a Stream.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

kill([ProcessSignal signal = io.ProcessSignal.sigterm ]) bool
Kills the process. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited