News for hackers. Stuff that matters.
Re:A surprise with how ' ' handles its program argument in p... by aaronmdjones on Thursday November 20, 2025 @04:47AM (#45990902)
> and file lookup through $PATH (which is not done by the kernel, maybe it's some shell trickery)

It's libc. Specifically, system(3) and APIs like execvp(3) will search $PATH for the file specified before passing that to execve(2) (which is the only kernel syscall; all the other exec*() stuff is in libc).

There are no comments on this comment yet.