ProcessRunShell constructor

ProcessRunShell({
  1. dynamic verbose = false,
  2. dynamic color = false,
  3. String? workingDirectory,
  4. Map<String, String>? environment,
  5. bool? throwOnError,
})

Implementation

ProcessRunShell({
  verbose = false,
  color = false,
  String? workingDirectory,
  Map<String, String>? environment,
  bool? throwOnError,
})  : _color = color,
      _verbose = verbose,
      _workingDirectory = workingDirectory ?? Directory.current.path,
      _environment = environment ?? Platform.environment,
      _throwOnError = throwOnError ?? true;