Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let a = std::process::Command::new("blabla").output();
- let b = std::process::Command::new("ls").current_dir("blabla").output();
- println!("a: {:?}", a);
- println!("b: {:?}", b);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement