mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix meteor subcommands like npm requiring shell:true on spawn the process
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user