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-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
pid int
The process id of the process.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stderr Stream<List<int>>
The standard error stream of the process as a Stream.
read-only, override
stdin IOSink
The standard input stream of the process as an IOSink.
read-only, override
stdout Stream<List<int>>
The standard output stream of the process as a Stream.
read-only, override

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