mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-14 16:35:06 +01:00
12 lines
No EOL
256 B
Rust
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();
|
|
} |