Merge 8d626c9cc6 into bc432d8435
This commit is contained in:
commit
ef2b329965
@ -51,7 +51,7 @@ function resolveRunner() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function run(cmd, args) {
|
function run(cmd, args) {
|
||||||
const child = spawn(cmd, args, {
|
const child = spawn(`"${cmd}"`, args, {
|
||||||
cwd: uiDir,
|
cwd: uiDir,
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
env: process.env,
|
env: process.env,
|
||||||
@ -64,7 +64,7 @@ function run(cmd, args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function runSync(cmd, args, envOverride) {
|
function runSync(cmd, args, envOverride) {
|
||||||
const result = spawnSync(cmd, args, {
|
const result = spawnSync(`"${cmd}"`, args, {
|
||||||
cwd: uiDir,
|
cwd: uiDir,
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
env: envOverride ?? process.env,
|
env: envOverride ?? process.env,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user