fix(ui): enable shell mode for spawn on Windows
This commit is contained in:
@@ -55,6 +55,7 @@ function run(cmd, args) {
|
|||||||
cwd: uiDir,
|
cwd: uiDir,
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
env: process.env,
|
env: process.env,
|
||||||
|
shell: process.platform === "win32",
|
||||||
});
|
});
|
||||||
child.on("exit", (code, signal) => {
|
child.on("exit", (code, signal) => {
|
||||||
if (signal) process.exit(1);
|
if (signal) process.exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user