ProcessResult class

ProcessResult represents the result of running a non-interactive process started with Process.run or Process.runSync.

ProcessResult represents the result of running a non-interactive process started with Process.run or Process.runSync.

Constructors

ProcessResult(int pid, int exitCode, stdout, stderr)

Instance Properties

exitCode int
read-only
Exit code for the process.
stdout dynamic
read-only
Standard output from the process. The value used for the stdoutEncoding argument to Process.run determines the type. If null was used this value is of type List<int> otherwise it is of type String`.
stderr dynamic
read-only
Standard error from the process. The value used for the stderrEncoding argument to Process.run determines the type. If null was used this value is of type List<int> otherwise it is of type String`.
pid int
read-only
Process id of the process.