ProcessInfo class Null safety

Executed Process information.

See DartProject.runProcess.

Available Extensions

Constructors

ProcessInfo(Process process, String binPath, List<String> args, String? workingDirectory)

Properties

args List<String>
The arguments passed to the process.
final
binPath String
The binary path executed.
final
errorOutput String
The process stderr output as String. See errorOutputBuffer. [...]
read-only
errorOutputBuffer List<String>
The process stderr output buffer. [...]
read / write
exitCode Future<int>
The process.exitCode.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
output String
The process stdout output as String. See outputBuffer. [...]
read-only
outputBuffer List<String>
The process stdout output buffer. [...]
read / write
process Process
The executed Process.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
workingDirectory String?
The Process working directory.
final

Methods

checkExitCode([int expectedExitCode = 0]) Future<bool>
Returns true if exitCode matches expectedExitCode.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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