fix: enable shell mode for spawn to resolve Windows EINVAL issue
This commit is contained in:
committed by
Jay Linski
parent
e914d6037f
commit
e0137c26f2
@@ -23,7 +23,8 @@ async function execFileWithInheritedOutput(command, args) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const resolvedCommand = preferLocalDependencies(command);
|
||||
const child = childProcess.spawn(resolvedCommand, args, {
|
||||
stdio: 'inherit'
|
||||
stdio: 'inherit',
|
||||
shell: true
|
||||
});
|
||||
child.on('exit', code => {
|
||||
if (code !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user