On Jan 31, 2011, at 15:09, I=F1aki Baz Castillo wrote:
> Hi, my program invokes "exit true" or "exit false" and I want to catch
> such return code into at_exit() block, but I don't know how to do
> that.

ruby -e 'at_exit { p $!.status }; exit 1'=