Created
November 18, 2018 21:33
-
-
Save rust-play/54b9b60c2b2b7ea84ed1f2e433024043 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::process::Command; | |
fn main(){ | |
let mut proc = Command::new("echo") | |
.arg("$shell") | |
.spawn() | |
.unwrap(); | |
proc.wait().unwrap(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment