From: Daniel Bretoi Date: 2003-01-24T03:09:01+09:00 Subject: Re: exit status, stderr and stdout Hi Thank you, How do I get the exit status for this? I'm only getting stdout and stderr for this. db On Thu, Jan 23, 2003 at 06:59:56AM +0900, Berger, Daniel wrote: > > -----Original Message----- > > From: Daniel Bretoi [mailto:lists@debonair.net] > > Hi all, > > > > How would I go about retreiving the following information for > > a system-call? > > > > stderr output > > stdout output > > exit status > > > > IO.popen? > > exec? > > system? > > require "open3" > in,out,err = Open3.popen3("some command") > > Not Windows friendly... > > Regards, > > Dan -- Jan 23 Ernst Abbe born, 1840, formulated diffraction theory Jan 23 Humphrey Bogart born in New York City, 1899 Jan 23 John Hancock born, 1737 Jan 23 Joseph Hewes born, 1730 Jan 23 Samuel Barber died, 1981 Jan 23 Feast of St. Ildefonsus Jan 23 National Handwriting Day