Fork and Exec
The fork system call in Unix creates a new process. The new ... To make things
interesting the parent kills the child process if the latter's PID is odd, so if you run
the program a few times expect behaviour to vary. .... As an example of process
creation, we shall consider UNIX. ... Here is the output from the program in a test
run.