From: ts Date: 2001-03-03T00:25:17+09:00 Subject: [ruby-talk:11900] Re: rewrite with Ruby >>>>> "M" == Max Ischenko writes: M> Why $? is nil when Ruby starts? $? is nil when ruby begin (not yet executed an external command) or when ruby find an error before trying to execute the external command. This is, I think, to distinguish from 0 which mean that the last external command was successfully executed. Guy Decoux