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
lib: fix phantom EACCES on spawn in some environments
On some Linux environments (e.g. WSL), execvp may return EACCES instead
of ENOENT when a command is not found in PATH, if it encounters
permission errors during the search.
This change adds a check to verify if the file actually exists in PATH
when EACCES is received for a command without path separators. If not
found, the error is normalized to ENOENT.
0 commit comments