Eryk Sun added the comment:
> So, two interesting questions: does this in fact match the behavior of
> os._execvpe, and does it match the behavior of the shell?
I think it's fine. child_exec() tries all paths. It saves the first error
that's not ENOENT or ENOTDIR. The saved error gets repor
Gregory P. Smith added the comment:
Definitely a bug. The path search should silently skip directories it can't
access.
On Tue, Oct 27, 2015, 7:05 AM R. David Murray
wrote:
>
> R. David Murray added the comment:
>
> So, two interesting questions: does this in fact match the behavior of
> os._e
R. David Murray added the comment:
So, two interesting questions: does this in fact match the behavior of
os._execvpe, and does it match the behavior of the shell? The latter would
appear to be false, and could arguably be claimed to be a bug. If we agree
that it is, we need to learn what th