You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(spawn): preserve path for Windows script files with absolute paths
When spawning .cmd/.bat/.ps1 files on Windows with shell: true, the
spawn function was stripping the path and extension to let cmd.exe
resolve the command via PATH+PATHEXT. This works for binaries in PATH
but fails for files in temp directories or other locations not in PATH.
Now only strips the extension when the command is a bare name without
any path components. Absolute and relative paths are kept intact so
cmd.exe executes the exact file.
Fixes test failure: "should invalidate cache when binary no longer exists"
0 commit comments