ProcessShellBackend constructor

ProcessShellBackend({
  1. String? defaultShell,
  2. String? workingDirectory,
  3. Map<String, String> baseEnvironment = const {},
  4. bool allowCommand(
    1. ShellRequest request
    )?,
})

Creates a process shell backend.

Implementation

ProcessShellBackend({
  String? defaultShell,
  this.workingDirectory,
  this.baseEnvironment = const {},
  this.allowCommand,
}) : defaultShell = defaultShell ?? resolveDefaultShell();