From cb34c3e011b7483e140a447dacddd2aa27c892bc Mon Sep 17 00:00:00 2001 From: Tyler Blackham Date: Mon, 8 Dec 2025 15:26:42 -0700 Subject: [PATCH] fix: enable shell mode for spawn to resolve Windows EINVAL issue --- tasks/util/exec-file.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/util/exec-file.js b/tasks/util/exec-file.js index 66fd8e92a..cc79b3a4f 100644 --- a/tasks/util/exec-file.js +++ b/tasks/util/exec-file.js @@ -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) {