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

Function signal_process_group

packages/server/src/service.rs:557–563  ·  view source on GitHub ↗
(pgid: u32, signal: &str)

Source from the content-addressed store, hash-verified

555}
556
557fn signal_process_group(pgid: u32, signal: &str) {
558 let _ = Command::new("kill")
559 .arg(format!("-{signal}"))
560 .arg("--")
561 .arg(format!("-{pgid}"))
562 .output();
563}
564
565fn wait_for_process_exit(pid: u32, timeout: Duration) -> bool {
566 let deadline = Instant::now() + timeout;

Callers 1

terminate_process_groupFunction · 0.70

Calls 1

outputMethod · 0.65

Tested by

no test coverage detected