From: Alexander Schaal Date: 2013-05-28T00:57:11+09:00 Subject: Re: Wrong child process exit status if core dump / seg fault Hi Robert, yes, I have tried all the methods. They return false or 0. I assume that ($?.to_i >> 8) must be equal to ($?.exitstatus), but it doesn't. As I can see in your tests, your exit codes are <= 255. In Windows exit codes are 32 bit, not only 8 bit (I am not sure about other platforms). I think this is the problem. In most cases the exit codes are < 255, so it fails only in rare cases... Thank you for your help! alll -- Posted via http://www.ruby-forum.com/.