1 unstable release
0.1.0 | Feb 8, 2025 |
---|
#1618 in Development tools
122 downloads per month
6KB
80 lines
fast-command
Simple implementation of Command
to avoid fork + exec overhead.
Used in
rush
build system.
Simple example
use fast_command::{Output, Command};
fn main() -> std::io::Result::<()> {
let Output { status, stdout, stderr } = Command::new("echo hello").execute()?;
println!("status = {status}");
println!("stdout = {stdout:?}");
println!("stderr = {stderr:?}");
Ok(())
}
Dependencies
~43KB