Zombie sh instances in System.Process

Don Stewart dons at galois.com
Mon Feb 4 13:34:12 EST 2008


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