Hi,
In message "[ruby-talk:8271] Re: "Catching" "command not found" when using backquotes?"
on 00/12/30, "Ben Tilly" <ben_tilly / hotmail.com> writes:
|>You could look at using open3, which lets you capture the stderr of a
|>subprocess. The downside is that open3 hides the return status of the
|>subprocess from you ($? is always 0).
|
|It also produces zombies if you don't reap your children. But
|use the variations on wait to reap children and you can kill two
|birds with one stone.
I think the one comes with 1.6.2 reaps them. Still not knowing how to
report child's exit status, let me see your approach.
matz.