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.

On Windows this is freshly constructed from machine and user settings and therefore excludes variables that exist only in the current process. On Unix this currently falls back to the current process environment.