ShellEnvironment constructor

ShellEnvironment({
  1. Map<String, String>? environment,
})

Create a new shell environment from the current shellEnvironment.

Defaults create a full parent environment.

It is recommended that you apply the environment to a shell. But it can also be set globally (be aware of the potential effect on other part of your application) to shellEnvironment

Implementation

ShellEnvironment({super.environment}) : super.fromEnvironment();