Skip to main content

killpg

Function killpg 

Source
pub fn killpg(pgid: i32, sig: i32) -> Result<()>
Expand description

killpg(2): signal every process in a process group.

Not kill(-pgid, sig): that spelling reads a negative pid, and kill takes its argument from Python where a caller can already pass one, so the two are not interchangeable at this layer.