[cs631apue] PATH environment variable

Jason Ajmo jajmo at stevens.edu
Mon Dec 18 03:09:33 EST 2017


Use execvp(3). It resolves executables relative to the users PATH
environment variable.

If you look into the man pages for the other exec(3) functions, some of
them don't account for $PATH.

On Mon, Dec 18, 2017, 3:00 AM mseaton <mseaton at stevens.edu> wrote:

> Hello,
> I am not sure what we are supposed to do with PATH environment variable.
> Can someone shed some light?
> Marlon
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
-- 
Jason Ajmo
Stevens Institute of Technology
B.S. Cybersecurity '17
M.S. Computer Science '18
0x56FA3123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20171218/db9a0c13/attachment.html>


More information about the cs631apue mailing list