This commit is contained in:
parent
a06edf48dd
commit
5879bcc4e6
@ -83,6 +83,7 @@ impl ScriptListener {
|
||||
fn mkcmd<'a>(&self, args: Vec<&'a str>) -> Command {
|
||||
let mut cmd = Command::new("/bin/sh");
|
||||
cmd.arg("-c");
|
||||
cmd.args((&self.script).to_str());
|
||||
cmd.arg(format!("\"{}\"", args.join(" ")));
|
||||
cmd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user