Skip to main content

restart_env

Function restart_env 

Source
pub(crate) fn restart_env(
    cmd: &mut Command,
    vars: impl IntoIterator<Item = (OsString, OsString)>,
)
Expand description

What a process started to bring AgentMux back up gets for an environment: vars (this process’s), less what the next version must not inherit (env_to_strip, crate::upgrade_linux::NOT_INHERITED), and on Unix AppImageLauncher off.