Skip to main content

apply_env_whitelist

Function apply_env_whitelist 

Source
pub fn apply_env_whitelist(cmd: &mut Command, strict: bool)
Expand description

Apply the v1.0.83 env whitelist to a Command.

In strict mode, only PATH is preserved (compliance environments). In default mode, the full PRESERVED_ENV_VARS set is applied.