kill_process

Function kill_process 

Source
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 to
  • signal - The signal to send (must be a real signal, not a trap signal)