fix(web): add shell true (#26411)
Add option `shell: true` to allow child process on Windows Closes #26161
This commit is contained in:
parent
8891bdc3ab
commit
c5f5320ef2
@ -170,6 +170,8 @@ export default async function* fileServerExecutor(
|
||||
const args = getBuildTargetCommand(options, context);
|
||||
execFileSync(pmCmd, args, {
|
||||
stdio: [0, 1, 2],
|
||||
shell: true,
|
||||
windowsHide: true,
|
||||
});
|
||||
} catch {
|
||||
throw new Error(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user