minus-squarepranaless@beehaw.orgtoProgrammer Humor@programming.dev•thisIsGoingToBeASeriousDebatelinkfedilinkarrow-up0·1 year agouse std::process::Command; fn main() { Command::new("sh") .arg("-c") .arg("echo Hello World!") .spawn() .unwrap(); } Like this? linkfedilink
use std::process::Command; fn main() { Command::new("sh") .arg("-c") .arg("echo Hello World!") .spawn() .unwrap(); }
Like this?