Zombie sh instances in System.Process

Sterling Clover s.clover at gmail.com
Mon Feb 4 23:34:06 EST 2008


Hmm... I thought I had been doing everything right, but now trying to  
reproduce this issue, I find I can't. It must have been the  
waitForProcess issue. Thanks for the advice, and sorry to trouble the  
list with this.

--Sterl

On Feb 4, 2008, at 1:34 PM, Don Stewart wrote:

> gale:
>> Sterling Clover wrote:
>>> Even once the process I
>>> was calling had terminated, and I had explicitly closed all its
>>> buffers, a zombie sh process was left around from it.
>>
>> Make sure to call waitForProcess on each process handle
>> when you are finished with it.
>
> Or even consider using say, newpopen, which wraps this up
> for you,
>
>     http://www.cse.unsw.edu.au/~dons/code/newpopen/



More information about the Libraries mailing list