ProcessResult represents the result of running a non-interactive process started with Process.run or Process.runSync.
Properties
- int exitCode
-
read-onlyExit code for the process.
- int pid
-
read-onlyProcess id of the process.
- dynamic stderr
-
read-onlyStandard error from the process. The value used for the
stderrEncoding
argument toProcess.run
determines the type. Ifnull
was used this value is of typeList<int> otherwise it is of type
String`. - dynamic stdout
-
read-onlyStandard output from the process. The value used for the
stdoutEncoding
argument toProcess.run
determines the type. Ifnull
was used this value is of typeList<int> otherwise it is of type
String`.
Constructors
- ProcessResult(int pid, int exitCode, stdout, stderr)