Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In the previous chapter, you learned how to create new processes with the help of the popen(3) and system(3) function calls. These functions end up calling upon the system calls fork(2) and exec(2), however. This chapter will enable you to call fork(2) and exec(2) directly from your programs, giving you complete and total control over process creation.