@farm.js/cli 0.1.0-beta.56 → 0.1.0-beta.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3320,11 +3320,13 @@ function getDependencySectionFlags(packageManager, section) {
3320
3320
  }
3321
3321
  function runFarmUpgradeCommand(command) {
3322
3322
  return new Promise((resolve, reject) => {
3323
- const executable = process.platform === "win32" ? `${command.command}.cmd` : command.command;
3323
+ const isWindows = process.platform === "win32";
3324
+ const executable = isWindows ? `${command.command}.cmd` : command.command;
3324
3325
  const child = spawn$1(executable, command.args, {
3325
3326
  cwd: command.cwd,
3326
3327
  env: process.env,
3327
- stdio: "inherit"
3328
+ stdio: "inherit",
3329
+ shell: isWindows
3328
3330
  });
3329
3331
  child.on("error", reject);
3330
3332
  child.on("close", (code, signal) => {