Try to fix command not found on windows with cmd/C
This commit is contained in:
parent
f709d6f3e8
commit
d4a772b6d2
3 changed files with 4 additions and 4 deletions
|
@ -380,10 +380,10 @@ class Settings {
|
|||
}
|
||||
}
|
||||
|
||||
Process.runSync("echo", ["X", ">", "cxinit"],
|
||||
Process.runSync("cmd", ["/C", "echo", "X", ">", "cxinit"],
|
||||
workingDirectory: Directory.current.path);
|
||||
|
||||
proc = await Process.start("steamcmd.exe", ["+quit"]);
|
||||
proc = await Process.start("cmd", ["/C", "steamcmd.exe", "+quit"]);
|
||||
print("Completed.");
|
||||
} else {
|
||||
// Download tgz file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue