[ python-Bugs-1526203 ] Win32: subprocess.Popen() w/o "pipe" throws an exception
SourceForge.net
noreply at sourceforge.net
Fri Jul 21 02:47:53 CEST 2006
Bugs item #1526203, was opened at 2006-07-21 00:10
Message generated for change (Comment added) made by tcdelaney
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1526203&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Larry Hastings (lhastings)
Assigned to: Nobody/Anonymous (nobody)
Summary: Win32: subprocess.Popen() w/o "pipe" throws an exception
Initial Comment:
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.
----------------------------------------------------------------------
Comment By: Tim Delaney (tcdelaney)
Date: 2006-07-21 00:47
Message:
Logged In: YES
user_id=603121
Kevin Jacobs reported it to python-dev with a possible
patch in:
http://mail.python.org/pipermail/python-dev/2006-
July/067311.html
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1526203&group_id=5470
More information about the Python-bugs-list
mailing list