From e0137c26f2202593bca7cc25184e733e87d54709 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 66fd8e92..cc79b3a4 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) {