Skip to main content

configure_background_process_group

Function configure_background_process_group 

Source
pub fn configure_background_process_group(command: &mut Command)
Expand description

Places a child in a new process group and makes terminal diagnostics safe.

Supervised CLI children run in the background relative to the caller’s terminal process group. Ignoring SIGTTOU before exec lets tools that inspect or write inherited diagnostic streams finish instead of being stopped by terminal job control. stdin remains the caller’s responsibility; non-interactive callers should set it to Stdio::null().