Fix windows compile mistake
This commit is contained in:
parent
0ade9dfc3a
commit
15806019af
|
@ -302,6 +302,7 @@ mod imp {
|
||||||
let (first, rest) = cmd.split_first().expect("command is empty");
|
let (first, rest) = cmd.split_first().expect("command is empty");
|
||||||
let mut c = Command::new(first);
|
let mut c = Command::new(first);
|
||||||
c.args(rest);
|
c.args(rest);
|
||||||
|
c
|
||||||
}
|
}
|
||||||
Shell::Cmd => {
|
Shell::Cmd => {
|
||||||
let mut c = Command::new("cmd.exe");
|
let mut c = Command::new("cmd.exe");
|
||||||
|
|
Loading…
Reference in New Issue