pub trait ProcessBackend {
// Required methods
fn kill_group(&self, pid: u32) -> bool;
fn alive(&self, pid: u32) -> bool;
}Required Methods§
Sourcefn kill_group(&self, pid: u32) -> bool
fn kill_group(&self, pid: u32) -> bool
SIGTERM, then SIGKILL, the process group via pidfd; true once confirmed gone.