Unix IPC: Forking and Waiting
25 Nov 2012In order to create processes within the Unix environment, you must fork. Forking a process establishes the parent / child relationship which is where the waiting comes into it. All good parents wait for their children to die before terminating.
It’s just good manners, you know?
So, the snippet for this will be a fork and wait set: