ref: a7da977793be1dc5bfcb58f505a0939a21c3dd05 signal-child/README.md -rw-r--r-- 575 bytes
a7da9777 — Ben Aaron Goldberg Bump version to 1.0.1 3 months ago


A little library to easily signal other process with no dependencies on Unix-like systems.


use std::process::Command;
use signal_child::Signalable;

// Spawn child process
let mut child = Command::new("sleep")
    .expect("Error spawning sleep process");
// Sing SIGINT to the child.
child.interrupt().expect("Error interrupting child");


Please send any and all patches, bugs, and questions to my public inbox ~zethra/public-inbox@lists.sr.ht