4 ms·
In the [exec][1] family of POSIX functions, if the command path doesn't contain a slash, then it's looked up in the PATH. > If the file argument contains a sla
by MathMonkeyMan 1y ago
In the [exec][1] family of POSIX functions, if the command path doesn't contain a slash, then it's looked up in the PATH.
> If the file argument contains a slash character, the file argument shall be used as the pathname for this file. Otherwise, the path prefix for this file is obtained by a search of the directories passed as the environment variable PATH [...]
[1]: https://pubs.opengroup.org/onlinepubs/009695399/functions/exec.html https://pubs.opengroup.org/onlinepubs/009695399/functions/ex...
- deleted 1y ago[deleted]
- yencabulator 1y agoThose are just functions in a library, not seen by strace which is about syscalls.