From: Peter Bailey Date: 2007-04-12T05:16:05+09:00 Subject: Re: making a class with built-in checks on success Brian Candler wrote: > On Thu, Apr 12, 2007 at 03:52:47AM +0900, Peter Bailey wrote: >> Anyway, can someone suggest some kind of success check in this class? > > The command's exit status should be set in $? after calling the command > in > backticks. > > ri Process::Status Wow. Sounds simple. I'll play with that. Thanks! -- Posted via http://www.ruby-forum.com/.