Registry / utility / shared-child

shared-child

JSON →
library1.1.1rscratesunverified

Enables using child processes from multiple threads safely.

# Cargo.toml [dependencies] shared_child = "1.1.1"
INSTALL
IMPORT
SIG · SHARED-CHILD
S
shared-child
utilityrustv1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SharedChild
use shared_child::SharedChild;

Spawns a child process and waits for its output.

use shared_child::SharedChild; use std::process::Command; fn main() { let child = SharedChild::spawn(&mut Command::new("echo").arg("hello")).unwrap(); let output = child.wait_with_output().unwrap(); println!("{}", String::from_utf8_lossy(&output.stdout)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
shared-child — cargo add shared-child · libregistry