exec Family: execvp
execvp()
uses filename, argument array and original ENV to execute the program.
It only takes a filename to invoke the program, and it is searched in paths specified in $PATH
in sequence.
The arguments are listed in an array of char*
and passed to the function.
Original environment variable are used in a new program environment.
Last updated