Skip to main content

Crate imsg_proc

Crate imsg_proc 

Source
Expand description

Self-respawn: detach the current binary as a background child.

One shared spawn/log-redirect/detach primitive for every “re-invoke myself as a background process” call site in the workspace — the CLI’s backgrounded daemon start, the CLI’s ephemeral one-shot broker, and the GUI’s headless self-provisioned daemon — previously three independent, near-identical copies differing only in argv verb and stdio/detach behavior.

Functions§

respawn_self
Re-execs current_exe() with verb --device <addr> [--config <config_path>].