cluelessh/testing.rs
2024-08-26 21:40:49 +02:00

12 lines
No EOL
256 B
Rust

use std::process::{Command, Stdio};
fn main() {
let mut cmd = Command::new("fish");
cmd.stderr(Stdio::piped());
cmd.stdout(Stdio::piped());
cmd.stdin(Stdio::piped());
let mut child = cmd.spawn().unwrap();
child.wait().unwrap();
}