The following program demonstrates the use of the execve system call to execute a program. The program takes one argument, which is the path of the program to execute. We assume that the program to execute is envargs (shown below), which simply prints its arguments and environmental varaibles.