Why is there timing problem while to fork child processes
问题 When I took a look at the reference of 'Launching-Jobs' in gnu.org, I didn't get this part. The shell should also call setpgid to put each of its child processes into the new process group. This is because there is a potential timing problem : each child process must be put in the process group before it begins executing a new program , and the shell depends on having all the child processes in the group before it continues executing. If both the child processes and the shell call setpgid,