This program demonstrates how to run another process using fork() and wait its termination using waitpid():
fork() creates an identical copy of the current process. The original process is the parent process, while the newly created one is the child process. Both processes continue exactly afte...