Date: 23 Jun 2003 15:40:58 -0700 From: Rajappa Iyer <rsi@panix.com> To: kientzle@acm.org Cc: arch@freebsd.org Subject: Re: Proposal: execvP Message-ID: <200306232240.h5NMewU27649@panix1.panix.com> References: <3EF77E52.6070007@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Tim Kientzle <kientzle@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@panix.com> a.k.a. Rajappa Iyer.
Absinthe makes the tart grow fonder.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306232240.h5NMewU27649>
