Skip to main content

detached_command

Function detached_command 

Source
pub fn detached_command(program: &str) -> Command
Expand description

Builds a fire-and-forget helper whose output nobody will read.

All three streams go to /dev/null, so status() can be called without a reader and the child can never block on a full pipe or touch the screen.