ProcessInfo class

Executed Process information.

See DartProject.runProcess.

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.
no setter
errorOutputBuffer ↔ List<String>
The process stderr output buffer.
getter/setter pair
exitCode → Future<int>
The process.exitCode.
no setter
hashCode → int
The hash code for this object.
no setterinherited
output → String
The process stdout output as String. See outputBuffer.
no setter
outputBuffer ↔ List<String>
The process stdout output buffer.
getter/setter pair
process → Process
The executed Process.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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 nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited