(pid: u32, signal: &str)
| 549 | } |
| 550 | |
| 551 | fn signal_process(pid: u32, signal: &str) { |
| 552 | let _ = Command::new("kill") |
| 553 | .args([format!("-{signal}"), pid.to_string()]) |
| 554 | .output(); |
| 555 | } |
| 556 | |
| 557 | fn signal_process_group(pgid: u32, signal: &str) { |
| 558 | let _ = Command::new("kill") |
no test coverage detected