Skip to main content

run_supervised

Function run_supervised 

Source
pub fn run_supervised(child_args: &[String]) -> !
Expand description

Parent process: respawn current_exe with child_args until forever.

Child stdout/stderr go to files under the enroll-state (or a temp dir) so a headless Windows spawn never inherits invalid console handles (which made println!/eprintln! panic). Interactive CLI never enters this path.