here's the source code
use std::process::Command;
fn main() {
match Command::new("git status").output() {
Ok(url) => {
println!("{:?}", String::from_utf8(url.stdout));
}
Err(e) => {
eprintln!("{e}");
}
}
}
idk why it prints out No such file or directory (os error 2)
the full repo is here GitHub - HomyeeKing/rust-repo