From: Daniel Bretoi Date: 2003-01-25T04:09:53+09:00 Subject: Re: exit status, stderr and stdout Hm, do you know if anyone intends to fix this or if it has been fixed in newer versions? I ended up having to do it in perl because of the lack of ability to do that. db On Fri, Jan 24, 2003 at 10:31:23AM +0900, nobu.nokada@softhome.net wrote: > Hi, > > At Fri, 24 Jan 2003 08:33:11 +0900, > Daniel Bretoi wrote: > > In perl, I was able to do this, > > > > my $pid = open3($wtr, $rdr, $err, "ls ---"); > > waitpid($pid,WNOHANG); > > warn $? >> 8; > > > > however, looking at the code for open3.rb it doesn't seem possible to > > capture the pid (infact, it seems to be completely discarded). > > Sorry, I've forgotten that I'm using modified version of > open3.rb, due to get rid of that very problem. > > > -- > Nobu Nakada -- Jan 24 John Belushi is born in Chicago, 1949 Jan 25 Robert Burns born, 1759 Jan 25 Virginia Woolf born, 1882 Jan 25 W. Somerset Maugham born, 1874 Jan 24 DG Nova introduced, 1969 Jan 25 First U.S. meeting of ALGOL definition committee, 1958 Jan 26 EDVAC demonstrated, 1952 Jan 24 Eskimo Pie patented by Christian Nelson, 1922 Jan 24 Gold discovered in California at Sutter's Mill, 1848 Jan 26 Sydney Aust. settled, 1788 Jan 24 Economic Liberation Day in Togo Jan 26 Republic Day in India Jan 26 Australia Day in Australia Jan 24 Warren Zevon is born, 1947 Jan 25 Bob Dylan plays the second "Hurricane" benefit, in the Astrodome, 1978 Jan 26* Parashat Be-Shallah Jan 26* Shabbat Shirah