Try to fix command not found on windows with cmd/C

This commit is contained in:
zontreck 2024-11-25 01:07:03 -07:00
parent f709d6f3e8
commit d4a772b6d2
3 changed files with 4 additions and 4 deletions

View file

@ -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