ProcessResultData class final

A finished command (Illuminate\Process\ProcessResult).

Constructors

ProcessResultData({List<String> command = const <String>[], int exitCode = 0, String output = '', String errorOutput = ''})
The result of a finished process.
const

Properties

command → List<String>
The command and its arguments.
final
errorOutput → String
Everything written to stderr.
final
exitCode → int
The exit code.
final
failed → bool
Whether the exit code is not 0.
no setter
hashCode → int
The hash code for this object.
no setterinherited
output → String
Everything written to stdout.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
successful → bool
Whether the exit code is 0.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
seeInErrorOutput(String text) → bool
Whether stderr contains text.
seeInOutput(String text) → bool
Whether stdout contains text.
throwIfFailed() → ProcessResultData
This result, or a ProcessFailedException when the command failed.
toString() → String
A string representation of this object.
inherited

Operators

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