Skip to main content

relaunch

Function relaunch 

Source
pub fn relaunch(staged: &Staged) -> Result<()>
Expand description

Restart into staged, detached, without this AgentMux’s own environment except where it keeps its data (KEPT_ENV).

Not on macOS: its swap script starts the new app with open, which gives it LaunchServices’ environment, not the script’s, so an isolated instance still comes back on the machine’s real channel there. (Not tried on a Mac; open --env would carry them.)