This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jldm
Recipients jldm
Date 2010-10-26.12:18:49
SpamBayes Score 0.00027159147
Marked as misclassified No
Message-id <>
Hi, first of all sorry for my English.

On windows XP SP3, the following code:

import subprocess

    '"{" is not recognized as an internal or external command,\noperable program or batch file.'

I made a workaround by changing in the file Lib/ the line 574 (I thin in 3.2a3 is 584) (in the getstatusoutput(cmd) function definition) from:
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')

pipe = os.popen('( ' + cmd + '; ) 2>&1', 'r')

I have tested it with:

ActivePython (ActiveState Software Inc.) based on
Python 3.1.2 (r312:79147, Mar 22 2010, 12:20:29) [MSC v.1500 32 bit (Intel)] on win32


Python 3.2a3 (r32a3:85355, Oct 10 2010, 17:11:45) [MSC v.1500 32 bit (Intel)] on win32

Regards from Spain.
José Luis Domenech
Date User Action Args
2010-10-26 12:19:02jldmsetrecipients: + jldm
2010-10-26 12:19:01jldmsetmessageid: <>
2010-10-26 12:18:50jldmlinkissue10197 messages
2010-10-26 12:18:49jldmcreate