Registry / utility / subprocess

subprocess

JSON →
library1.1.0rscratesunverified

Execution and control of child processes and pipelines with a high-level API.

# Cargo.toml [dependencies] subprocess = "1.1.0"
INSTALL
IMPORT
SIG · SUBPROCESS
S
subprocess
utilityrustv1.1.0
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.

Exec
use subprocess::Exec;

Runs a shell command and captures its stdout.

use subprocess::Exec; fn main() { let output = Exec::shell("echo hello").capture().unwrap(); println!("{}", output.stdout_str()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
subprocess — cargo add subprocess · libregistry