MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / signal_process

Function signal_process

packages/server/src/service.rs:551–555  ·  view source on GitHub ↗
(pid: u32, signal: &str)

Source from the content-addressed store, hash-verified

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

Callers 1

terminate_process_groupFunction · 0.70

Calls 1

outputMethod · 0.65

Tested by

no test coverage detected