Skip to main content

detached_command

Function detached_command 

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

Re-exported from gitwig-core so both crates build git the same way: prompts disabled, stdin /dev/null, stdout and stderr piped. 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.