Registry / utility / duct
library1.1.1rscratesunverified

A library for running child processes with a concise, composable API.

# Cargo.toml [dependencies] duct = "1.1.1"
INSTALL
IMPORT
SIG · DUCT
D
duct
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.

cmd
use duct::cmd;

Runs the echo command and captures its output.

use duct::cmd; fn main() { let output = cmd!("echo", "hello").read().unwrap(); println!("{}", output); }
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
6 hits · last 30 days
node
6
Resources
duct — cargo add duct · libregistry