make build script work on windows
This commit is contained in:
@@ -52,6 +52,7 @@ function run(command, args, options = {}) {
|
|||||||
const spawnOptions = {
|
const spawnOptions = {
|
||||||
cwd: appDir,
|
cwd: appDir,
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
|
shell: process.platform === "win32",
|
||||||
...options,
|
...options,
|
||||||
env: { ...process.env, NODE_PATH: nodeModulesPath, ...(options.env || {}) },
|
env: { ...process.env, NODE_PATH: nodeModulesPath, ...(options.env || {}) },
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user