in reply to Re: basic fork question
in thread basic fork question

I manipulated this example code for my own benefit, and found that even if I move the exit(); statement out of the foreach loop, my script exits right after forking. More exactly, it allows the forked routines to progress on their own, and then finishes the script, then exits. How do I make the script wait for the forks to finish before proceeding?