ProcessWrapper class Null safety
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> -
A
Future
which completes with the exit code of the process when the process completes.read-onlyoverride - hashCode → int
-
The hash code for this object.
read-onlyinherited
- pid → int
-
The process id of the process.
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
stderr
→ Stream<
List< int> > -
The standard error stream of the process as a
Stream
.read-onlyoverride - stdin → IOSink
-
The standard input stream of the process as an IOSink.
read-onlyoverride
-
stdout
→ Stream<
List< int> > -
The standard output stream of the process as a
Stream
.read-onlyoverride
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 -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited