Differences between how ash searches for an executable and how this
patch set using execvpe() does:

1) execvpe() uses the environment variable PATH while ash uses the shell
   variable PATH.  These may not be the same.

2) The shell builtin 'command' with the '-p' flag uses a hard-coded path
   of /bin:/usr/bin while execvpe() uses the PATH environment variable.

3) ash gives special treatment to elements of PATH which contain '%builtin'
   or the suffix '%func'.  Details here:

     https://www.in-ulm.de/~mascheck/various/ash/ash-orig.1.html#pathsearch

   execvpe() treats such elements literally.

Cheers,

Ron
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to