simple_example/
example.rs1use fast_command::{Output, Command};
2
3fn main() -> std::io::Result::<()> {
4 let Output { status, stdout, stderr } = Command::new("echo hello").execute()?;
5
6 println!("status = {status}");
7 println!("stdout = {stdout:?}");
8 println!("stderr = {stderr:?}");
9
10 Ok(())
11}