ProcessResult represents the result of running a non-interactive process started with Process.run or Process.runSync.
Properties
- exitCode → int
-
read-only
Exit code for the process.…
- pid → int
-
read-only
Process id of the process.
- stderr → dynamic
-
read-only
Standard 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`. - stdout → dynamic
-
read-only
Standard 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)