Skip to main content

user_baseline_environment

Function user_baseline_environment 

Source
pub fn user_baseline_environment() -> Result<Vec<(OsString, OsString)>>
Expand description

Return the logged-in user’s baseline environment.

This is the environment a fresh login would have, not a copy of this process’s: variables that exist only here do not appear in it. See crate::platform::host::login_environment for what each host builds it from.