fix(ui): enable shell mode for spawn on Windows

This commit is contained in:
Long
2026-01-19 11:37:45 +07:00
committed by Peter Steinberger
parent 6b8299eb33
commit 23c2c638b7

View File

@@ -55,6 +55,7 @@ function run(cmd, args) {
cwd: uiDir,
stdio: "inherit",
env: process.env,
shell: process.platform === "win32",
});
child.on("exit", (code, signal) => {
if (signal) process.exit(1);