From: David Vallner Date: 2005-08-30T22:14:21+09:00 Subject: Re: Another Newbie question Brian Schr�der wrote: >On 15/08/05, LenS wrote: > >>In general how would you call the foo.exe program in ruby and check >>return code. >> >> >def execute(*args) > system(*args) > $? >end > > As a sworn hater of magic global variables, I'd like to know: Is there any way to do this that doesn't involve the "$?" ? Cheers David Vallner