~zethra/signal-child

A little library to easily signal other process with no dependencies
abdb0249 — Ben Aaron Goldberg 10 days ago
Bump version to 1.0.3
c14dbb89 — Ben Aaron Goldberg 10 days ago
Remove extra files from cargo package
0c95bf51 — Ben Aaron Goldberg 10 days ago
Bump version to 1.0.2

clone

read-only
https://git.sr.ht/~zethra/signal-child
read/write
git@git.sr.ht:~zethra/signal-child

You can also use your local clone with git send-email.

#signal-child

crates.io docs.rs Minimum Supported Rust Version

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

#Example

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

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

#Contributing

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