fix meteor subcommands like npm requiring shell:true on spawn the process

This commit is contained in:
Nacho Codoñer
2024-09-30 15:53:34 +02:00
parent 45bafabad3
commit 0ab274aa3f

View File

@@ -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) {