ProcessRunnerResult constructor

ProcessRunnerResult(
  1. int exitCode,
  2. List<int> stdoutRaw,
  3. List<int> stderrRaw,
  4. List<int> outputRaw, {
  5. Encoding decoder = const SystemEncoding(),
  6. int? pid,
})

Creates a new ProcessRunnerResult, usually created by a ProcessRunner.

If decoder is not supplied, it defaults to SystemEncoding.

Implementation

ProcessRunnerResult(
  this.exitCode,
  this.stdoutRaw,
  this.stderrRaw,
  this.outputRaw, {
  this.decoder = const SystemEncoding(),
  this.pid,
});