fix(ui): enable shell mode for spawn on Windows
This commit is contained in:
parent
6b8299eb33
commit
23c2c638b7
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user