From: Daniel Bretoi Date: 2003-01-24T04:33:26+09:00 Subject: Re: exit status, stderr and stdout This is what I was looking for but I can't seem to be getting the appropriate exit value anyway. I tried perl's $? & 127 which didn't give it to me either: min,out,err = Open3.popen3("ls /nonexistantdir"); p $? & 127 => 0 [~]$ ls /nonexistantdir ls: /nonexistantdir: No such file or directory [~]$ echo $? 1 $? on it's own returns 65280 why the difference? db On Fri, Jan 24, 2003 at 04:01:11AM +0900, nobu.nokada@softhome.net wrote: > Hi, > > At Fri, 24 Jan 2003 03:09:01 +0900, > Daniel Bretoi wrote: > > How do I get the exit status for this? I'm only getting stdout and > > stderr for this. > > $? > > -- > Nobu Nakada -- 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