Proposal: execvP

Tim Kientzle kientzle at
Mon Jun 23 15:42:20 PDT 2003

Rajappa Iyer wrote:
> Tim Kientzle <kientzle at> writes:
>>In essence, execvP() is merely publishing an already-existing capability
>>within the library by breaking execvp() into two very natural pieces.
>>Without this, I basically will have to copy a slightly modified version
>>of execvp() into several utilities, which seems a rather pointless
> What's wrong with 
> putenv("PATH=newpath");
> execvp(...);
> What am I missing?
> rsi

Your suggested code changes the PATH that
is used by child processes.


More information about the freebsd-arch mailing list