[ python-Bugs-1526203 ] Win32: subprocess.Popen() w/o "pipe" throws an exception

SourceForge.net noreply at sourceforge.net
Fri Jul 21 02:10:01 CEST 2006


Bugs item #1526203, was opened at 2006-07-21 00:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
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.

----------------------------------------------------------------------

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