From: wys@... (Clemens Wyss) Date: 2000-12-11T14:40:01+09:00 Subject: [ruby-talk:7030] Re: Catching stdout and stderr Clemens Hintze wrote in : > >Would the variable $? deliver what you want? > > Clemens> Clemens Of course it does ;-) The mistake I made was looking at the $? value as if it were a boolean (i.e. "if ($?) then ..." instead of "if ($? == 1) then ...") and as 0 is NOT True my program didn't behave as expected. Thanks (and sorry) Clemens