Skip to main content

detach_from_tty

Function detach_from_tty 

Source
pub fn detach_from_tty() -> Result<()>
Expand description

Detach from the controlling TTY by starting a new session.

This is useful for spawning background processes that should not receive signals from the controlling terminal.