[New-bugs-announce] [issue2200] find_executable fails to find .bat files on win32

Lev Shamardin report at bugs.python.org
Thu Feb 28 14:52:13 CET 2008


New submission from Lev Shamardin:

distutils.spawn.find_executable appends '.exe' suffix on win32 and os2
platforms. This is incorrect behavior, since it prevents finding .bat,
.cmd and other similar files. Ether all extensions from the %PATHEXT%
must be checked or filenames both with appended suffix and without
appending suffix must be checked.

----------
components: Distutils
messages: 63092
nosy: abbot
severity: major
status: open
title: find_executable fails to find .bat files on win32
type: behavior
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2200>
__________________________________


More information about the New-bugs-announce mailing list