CliTerminal.system constructor

CliTerminal.system({
  1. bool reserveStdout,
  2. Map<String, String>? environment,
  3. bool? ansi,
  4. bool? interactive,
  5. bool? hyperlinks,
})

The process's stdio: stdin, stdout and stderr; with reserveStdout what goes to stdout goes to stderr, for a program whose stdout is another's (a server speaking JSON-RPC on it).

Capabilities are detected once, from stdio and environment (the process environment by default); ansi, interactive and hyperlinks override detection, see CliCapabilities.detect.

Implementation

factory CliTerminal.system({
  bool reserveStdout,
  Map<String, String>? environment,
  bool? ansi,
  bool? interactive,
  bool? hyperlinks,
}) = _SystemTerminal;