@mcp-use/cli 2.8.0-canary.12 → 2.8.0-canary.13

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.js CHANGED
@@ -4182,7 +4182,7 @@ function runCommand(command, args, cwd, env2, filterStderr = false) {
4182
4182
  const proc = spawn(command, args, {
4183
4183
  cwd,
4184
4184
  stdio: filterStderr ? ["inherit", "inherit", "pipe"] : "inherit",
4185
- shell: false,
4185
+ shell: process.platform === "win32",
4186
4186
  env: env2 ? { ...process.env, ...env2 } : process.env
4187
4187
  });
4188
4188
  if (filterStderr && proc.stderr) {
@@ -4214,7 +4214,7 @@ async function startTunnel(port, subdomain) {
4214
4214
  }
4215
4215
  const proc = spawn("npx", tunnelArgs, {
4216
4216
  stdio: ["ignore", "pipe", "pipe"],
4217
- shell: false
4217
+ shell: process.platform === "win32"
4218
4218
  });
4219
4219
  let resolved = false;
4220
4220
  let isShuttingDown = false;