Re: Leaks in subprocess.Popen

2006-09-20 Thread Ziga Seilnacht
zloster wrote: > I'm using Python 2.4.3 for Win32. > I was trying to run a few child processes simultaneously in separate > threads and get their STDOUT, but the program was leaking memory and I > found that it was because of subprocess operating in another thread. > The following code works fine,

Leaks in subprocess.Popen

2006-09-20 Thread zloster
I'm using Python 2.4.3 for Win32. I was trying to run a few child processes simultaneously in separate threads and get their STDOUT, but the program was leaking memory and I found that it was because of subprocess operating in another thread. The following code works fine, but I get a leaking handl