Jason Zheng <[EMAIL PROTECTED]> wrote: >Hrvoje Niksic wrote: >> Actually, it's not that bad. _cleanup only polls the instances that >> are no longer referenced by user code, but still running. If you hang >> on to Popen instances, they won't be added to _active, and __init__ >> won't reap them (_active is only populated from Popen.__del__).
> Perhaps that's the difference between Python 2.4 and 2.5. In 2.4, > Popen's __init__ always appends self to _active: Yes, that changed between 2.4 and 2.5. Note that if you take a copy of 2.5's subprocess.py, it ought to work fine with 2.4. -M- -- http://mail.python.org/mailman/listinfo/python-list