可以使用Command::new(program) 生成默认配置,其中program 给出了要执行的程序的路径。 ... use std::process::Command; Command::new("sh") .spawn() .expect("sh ...
確定! 回上一頁