Why is it spawning a grandchild process? I got rid of that and it appears to work just as well. (changing the exit! to exit! $?>>8) db On Tue, Apr 08, 2003 at 02:53:47AM +0900, nobu.nokada / softhome.net wrote: > Hi, > > At Tue, 8 Apr 2003 01:56:11 +0900, > Daniel Bretoi wrote: > > For some reason the code I had posted earlier did not always work > > correctly. I've now rearrange the code to work properly as far as > > running, however, now I can't seem to capture the exit status. > > Since open3 spawns grand child process, you cannot get the exit > status from the command. This is an issue discussed a couple > times, but it's pending yet. > > -- > Nobu Nakada -- Apr 7 IBM announces System/360, 1964 Apr 7 Albert Hofmann synthesizes LSD in Switzerland, 1943 Apr 7 Alewives run, Cape Cod Apr 7* Omer 10th day