WinptyShellBackend constructor
WinptyShellBackend({})
Creates a winpty-based PTY backend decorating fallback.
Implementation
WinptyShellBackend({
required this.fallback,
String? defaultShell,
this.workingDirectory,
this.baseEnvironment = const {},
this.baseEnvironmentFor,
this.allowCommand,
this.onWarning,
}) : defaultShell = defaultShell ?? resolveDefaultShell() {
// See `ProcessShellBackend`: the registry baseline at node start.
primeLiveEnvironment();
}