Skip to main content

apply_env

Function apply_env 

Source
pub fn apply_env(cmd: &mut Command, dir: &Path)
Expand description

The environment a run gets: the scripts directory by name, and on PATH after the real commands. Shared so execute_code — which builds its own command over the same directory — cannot drift from what script gives one (#550).