From: Lyndon Samson Date: 2005-11-25T07:03:38+09:00 Subject: Re: system() on windows ------=_Part_5683_4298119.1132869812549 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 11/25/05, snacktime wrote: > > I'm trying to figure out why a particular system command is returning > false on windows. > > This works fine and returns true: > > res =3D system('dir') > > This returns false with $? being nil: > > res =3D system('rake') > Windows return codes where never as standardised as Unix. Plus dir is part of the command shell, not a standalone exec. ------=_Part_5683_4298119.1132869812549--