From: "ara.t.howard" Date: 2008-04-16T14:24:01+09:00 Subject: Re: Parallel for loop On Apr 15, 2008, at 10:55 PM, Fredrik wrote: > Actually, I'll change it a bit. I added Process.waitall since there > are otherwise some dead(?) processes left. > indeed, and you can blow up in the child and not know. read this code to see how to handle that: http://codeforpeople.com/lib/ruby/open4/open4-0.9.6/lib/open4.rb the bit about EOFError it's damn tricky - it *excepts* get get an exception marshaled up a dedicated pipe, if this does *not* occur we know the child process started successfully. you can adapt. cheers. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama