2010/1/5 Tanaka Akira <akr / fsij.org>:
> 2010/1/5 Robert Klemme <shortcutter / googlemail.com>:
>
>> I noticed a strange effect: the closing of stderr in the child process
>> is not detected by the parent.  ¨Â äåíï òõïæ ôèáôôáãèåä óãòéðô>> looks like this:
>
> Use $stderr.reopen("/dev/null", "w") instead of
> $stderr.close.

Thank you for the hint!  Why should I do this?  Does Ruby somehow
prevent the stream to be closed in order to be able to deliver error
messages?

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/