Proposal: execvP

Rajappa Iyer rsi at panix.com
Mon Jun 23 15:41:00 PDT 2003


Tim Kientzle <kientzle at acm.org> 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
> exercise.

What's wrong with 

putenv("PATH=newpath");
execvp(...);

What am I missing?

rsi
-- 
<rsi at panix.com> a.k.a. Rajappa Iyer.
	Absinthe makes the tart grow fonder. 


More information about the freebsd-arch mailing list