mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-29 22:51:33 +02:00
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
Block a user