Author sandberg
Recipients sandberg
Date 2009-03-13.14:32:04
SpamBayes Score 3.7367e-06
Marked as misclassified No
Message-id <>
When is told to execute a .bat file on Windows, and the
path to the batch file is given as an absolute path, and the path
includes a left parenthesis ('('), then the call fails with a message
similar to the following; it appears that the parenthesis is incorrectly

'c:\tmp\f' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "", line 7, in <module>
    subprocess.check_call(os.path.join(os.getcwd(), bat))
  File "c:\Python25\lib\", line 461, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'c:\tmp\f(o.bat' returned
non-zero exit status 1

I have reproduced this on Windows XP.
Date User Action Args
2009-03-13 14:32:07sandbergsetrecipients: + sandberg
2009-03-13 14:32:07sandbergsetmessageid: <>
2009-03-13 14:32:05sandberglinkissue5484 messages
2009-03-13 14:32:04sandbergcreate