pub fn kill_process(pid: i32, signal: TrapSignal) -> Result<(), Error>Expand description
Sends a signal to a specific process.
ยงArguments
pid- The process ID to send the signal tosignal- The signal to send (must be a real signal, not a trap signal)