Dashboard › cli › Windows package-manager .cmd spawning
01a08aa4-45e1-72ee-9b17-b4c451e8d4d0Trap: spawning npm, pnpm, or Yarn with shell: false looks safer and matches POSIX behavior, but Windows exposes them as .cmd files and direct spawning fails with ENOENT. Fix: use shell: process.platform === "win32" only with fixed executables and validated arguments; retain direct spawning elsewhere and never pass unsanitized user input.