Issue 1526203: Win32: subprocess.Popen() w/o "pipe" throws an exception (original) (raw)
This is under Windows (XP).
I have a script which calls subprocess.Popen without the "pipe=" argument, as so:
-- from subprocess import * Popen("cmd.exe /c dir")
If I run that with Python 2.5, it throws the following exception:
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'append'" in <bound method Popen.__del__ of <subprocess.Popen object at 0x00C04EB0>> ignored
The same script run under Python 2.4(.2) does not throw any exceptions.
Note that this happens with any call to subprocess.Popen; what process you invoke seems irrelevant.