Skip to main content

Module env

Module env 

Source
Expand description

sandbox.env applied to a command started on this machine.

The policy and what it decides are base’s (SubprocessEnv::resolve); this is the one place that reads this process’s environment for a child and writes the answer into the command.

Functions§

apply_subprocess_env
Set cmd’s environment from this process’s, as policy says.
apply_subprocess_env_in
apply_subprocess_env for a child whose spec says scope.