Files
sandbox-runtime/test
Ian Grunert 97f72402c8 fix(windows): reject absolute pwsh/cmd paths; make parseWindowsBinShell platform-independent
- Token arms (cmd/powershell/pwsh) now match on the full string, not
  basename, so an absolute path to pwsh.exe falls through to the
  explicit throw instead of silently dropping the caller's path and
  degrading to a PATH lookup of bare 'pwsh.exe'.
- Use path.win32.basename/isAbsolute explicitly so the parser is
  pure and platform-independent.
- Move the parseWindowsBinShell test out of the describe.if(isWindows)
  block into its own all-platforms describe; add a case asserting an
  absolute pwsh path throws.
2026-06-22 23:10:23 +00:00
..