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.
no setter
-
exitCode
→ Future<
int> -
A
Future
which completes with the exit code of the process when the process completes.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- pid → int
-
The process id of the process.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stderr
→ Stream<
List< int> > -
The standard error stream of the process as a
Stream
.no setteroverride - stdin → IOSink
-
The standard input stream of the process as an IOSink.
no setteroverride
-
stdout
→ Stream<
List< int> > -
The standard output stream of the process as a
Stream
.no setteroverride
Methods
-
kill(
[ProcessSignal signal = io.ProcessSignal.sigterm]) → bool -
Kills the process.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited