R. David Murray <rdmur...@bitdance.com> added the comment:

Note that it works with shell=True.  Which is what you would expect if it works 
in the shell.  Without shell=True, the program name is being passed to 
CreateProcess directly. Popen("foo") results in the same cannot find file error 
for me if the file is foo.bat.  Perhaps CreateFile has special rules for .exe, 
and they are broken as you describe?

In any case, it looks to me like if there is a bug here it is in Windows.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8224>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to