From 0ab274aa3f7555d811db3cb187bf581d705673a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Mon, 30 Sep 2024 15:53:34 +0200 Subject: [PATCH] fix meteor subcommands like npm requiring shell:true on spawn the process --- tools/cli/dev-bundle-bin-commands.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cli/dev-bundle-bin-commands.js b/tools/cli/dev-bundle-bin-commands.js index a3b980533b..762a61480b 100644 --- a/tools/cli/dev-bundle-bin-commands.js +++ b/tools/cli/dev-bundle-bin-commands.js @@ -33,7 +33,8 @@ async function getChildProcess({ isFirstTry }) { const child = require("child_process").spawn(cmd, args, { stdio: "inherit", - env: env + env: env, + shell: true, }); require("./flush-buffers-on-exit-in-windows"); child.on("error", function (error) {