RunOptions constructor

RunOptions({
  1. String? workingDirectory,
  2. Map<String, String>? environment,
  3. bool includeParentEnvironment = true,
  4. bool? runInShell,
  5. Encoding stdoutEncoding = systemEncoding,
  6. Encoding stderrEncoding = systemEncoding,
})

Implementation

RunOptions(
    {this.workingDirectory,
    Map<String, String>? environment,
    this.includeParentEnvironment = true,
    bool? runInShell,
    this.stdoutEncoding = systemEncoding,
    this.stderrEncoding = systemEncoding})
    : environment = environment ?? {},
      runInShell = runInShell ?? Platform.isWindows;