From: Roger Pack Date: 2009-06-24T00:53:51+09:00 Subject: Re: Capturing System Call Return Values? > Anyone have any insight into this? Hmm. >> `bad` (irb):1: command not found: bad => "" >> $? => # >> system("bad") => false irb(main):004:0> $? => # Appears a little buggy on windows for some reason. C:\dev\blade_copy>irb >> `bad` >> $? => # # this is wrong >> system("bad") => false >> $? => # >> `bad` >> $? => # # and now it's right. Odd. -=r -- Posted via http://www.ruby-forum.com/.