Skip to main content

kill_process

Function kill_process 

Source
pub fn kill_process(pid: u32) -> Result<(), String>
Expand description

Kill a process by PID. Tries SIGTERM first, then SIGKILL on failure.