[Boston.pm] How do I wait for all child processes to terminate?

2006-03-30 Thread Kripa Sundar
Hello all, I thought this was fairly simple (and it probably is). But I am not able to figure out how I can fork() off, say, five child processes, and wait for all of them to terminate. Is the code below on the right track? Is it as simple as wait for [EMAIL PROTECTED]? I think this will let

Re: [Boston.pm] How do I wait for all child processes to terminate?

2006-03-30 Thread Ben Tilly
On 3/30/06, Kripa Sundar [EMAIL PROTECTED] wrote: Hello all, I thought this was fairly simple (and it probably is). But I am not able to figure out how I can fork() off, say, five child processes, and wait for all of them to terminate. 1 until -1 == wait(); You'll need something more