Expand description
Process control: detached spawning and console-window suppression.
Functions§
- child_
command - A
Commandfor a child that must not take a console window. - child_
command_ async - The tokio twin of
child_command. - configure_
detached - Configure
cmdso the spawned child detaches into its own process group, surviving the terminal that launched it. - current_
uid - The calling user’s numeric id.
- hide_
console_ window - Configure
cmdso the spawned child gets no console window. - kill_
process_ group - SIGKILL every process in the group led by
pgid(a no-op on platforms without process groups). - peer_
uid - The effective uid of the process on the other end of a connected Unix-domain socket.
- terminal_
command - A
Commandfor a child that must inherit the user’s terminal.