From: Fukumoto Atsushi Date: 2003-03-17T00:01:27+09:00 Subject: Re: mapping $? to text message >> It would be really nice if this were all wrapped in an object. I raised this >> a few weeks ago and didn't hear anything, so I guess it's not in 1.8. In 1.7 or later, Process.wait and related operations produce an object of Process::Status class. http://www.ruby-lang.org/ja/man-1.6/?cmd=view;name=Process%3A%3AStatus On my 1.8.0: class Process::Status inherits: Object, Kernel inherited by: (none) class methods: (none) instance methods: &, ==, >>, coredump?, exited?, exitstatus, inspect, pid, signaled?, stopped?, stopsig, termsig, to_i, to_int, to_s Unfortunately, Process::Status#to_s is equivalent to obj.to_i.to_s, and does not produce descriptive string. FUKUMOTO Atsushi fukumoto@imasy.or.jp