CommandOptions constructor

CommandOptions({
  1. List<String>? args,
  2. Object? cwd,
  3. bool? clearEnv,
  4. dynamic env,
  5. num? uid,
  6. num? gid,
  7. AbortSignal? signal,
  8. Stdin? stdin,
  9. Stdout? stdout,
  10. Stderr? stderr,
  11. bool? windowsRawArguments,
})

Implementation

factory CommandOptions({
  _i2.List<_i2.String>? args,
  _i2.Object? cwd,
  _i2.bool? clearEnv,
  _i2.dynamic env,
  _i2.num? uid,
  _i2.num? gid,
  _i5.AbortSignal? signal,
  _i4.Stdin? stdin,
  _i4.Stdout? stdout,
  _i4.Stderr? stderr,
  _i2.bool? windowsRawArguments,
}) =>
    CommandOptions._(
      args: args,
      cwd: cwd ?? _i6.undefined,
      clearEnv: clearEnv,
      env: env,
      uid: uid,
      gid: gid,
      signal: signal ?? _i6.undefined,
      stdin: stdin?.name ?? _i6.undefined,
      stdout: stdout?.name ?? _i6.undefined,
      stderr: stderr?.name ?? _i6.undefined,
      windowsRawArguments: windowsRawArguments,
    );