2012/8/3 John Mettraux <[email protected]>:
>
> On Fri, Aug 03, 2012 at 09:01:01AM +0200, Hartog De Mik wrote:
>>
>> As a Side-Note:
>> Always (And I mean ALWAYS) use Process.wait(pid), Process.waitpid(pid)
>> and/or Process.detach(pid).
>> Failing to do so will cause zombies; see
>> http://www.ruby-doc.org/core-1.9.3/Process.html#method-c-detach for
>> further explanation
>
> Hello Hartog,
>
> you owe us a version of the last gist that uses Process.detach ;-)

You almost fooled me :)

This participant waits for the outcome, so it has interest in the
child, using Process.detach signifies desinterest in the child - you
want to use Process.wait and check the outcome.

See https://gist.github.com/3245369

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to