LocalExecutionEnv constructor
Creates a LocalExecutionEnv rooted at cwd.
A custom shell may be provided to swap the default LocalShell for a
sandboxed WASM shell on mobile targets.
Implementation
LocalExecutionEnv({String? cwd, Shell? shell})
: _fs = LocalFileSystem(cwd: cwd),
_shell = shell ?? const LocalShell();