pty/flutter_pty_backend library

Classes

FlutterPtyBackend
ShellSpec
Pure spawn parameters, derived from ShellConfig + environment. Extracted so the mapping is unit-testable without spawning a process.

Functions

resolveShellSpec(ShellConfig shell, {Map<String, String>? env}) ShellSpec
Maps ShellConfig to concrete spawn parameters.
shouldWatchForegroundProcess({required bool isWindows, required bool? initialForegroundRunning}) bool
Whether FlutterPtyBackend should expose a foreground listenable.