shellEnvironment top-level property

Map<String, String> shellEnvironment

Cached shell environment with user config Same as userEnvironment


// Map<String, String> get platformEnvironment => rawShellEnvironment

/// Same as userEnvironment
Map<String, String> get shellEnvironment =>
    _shellEnvironment ?? userEnvironment;
void shellEnvironment=(Map<String, String>? environment)

Warning, change the shell environment for the next run commands.


set shellEnvironment(Map<String, String>? environment) {
  if (environment == null) {
    _shellEnvironment = null;
  } else {
    _shellEnvironment = asShellEnvironment(environment);