Skip to content

ShellConfig

Category: Shell

Source: shell_config.dart

Enums

ShellMode

ValueDescription
nonInteractive
interactive
login

Classes

ShellConfig

Constructor

dart
const ShellConfig({
    this.executable = 'sh',
    this.mode = ShellMode.nonInteractive,
  })
dart
factory ShellConfig.detect({
    String? explicit,
    String? shellEnv,
    ShellMode mode = ShellMode.nonInteractive,
  })

Properties

PropertyTypeDescription
executableString
modeShellMode

Methods

List<String> buildArgs(String command)

Released under the MIT License.