[issue8224] subprocess.Popen raises WindowsError if there is a dot in program name

Eric Smith report at bugs.python.org
Thu Mar 25 11:08:30 CET 2010


Eric Smith <eric at trueblade.com> added the comment:

I agree with David that this is a Windows problem. I copied xcopy.exe into a local directory as xcopy.exe and xcopy.a.exe. When running this VBScript, the first line runs, the second gives me an error 0x8007002, "The system could not find the file specified".

WScript.CreateObject("WScript.Shell").Run "xcopy", 1, true
WScript.CreateObject("WScript.Shell").Run "xcopy.a", 1, true

I only tested on XP.

----------
nosy: +eric.smith
resolution:  -> invalid
stage: test needed -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8224>
_______________________________________


More information about the Python-bugs-list mailing list