From: "Berger, Daniel" Date: 2003-01-24T03:55:23+09:00 Subject: Re: exit status, stderr and stdout > -----Original Message----- > From: Daniel Bretoi [mailto:lists@debonair.net] > Hi Thank you, > > > in,out,err = Open3.popen3("some command") > > How do I get the exit status for this? I'm only getting > stdout and stderr for this. > > db Remember, err is a filehandle, not a string. error = err.gets if e.nil? # no news is good news else # problems end Regards, Dan