[issue31405] shutil.which doesn't find files without PATHEXT extension on Windows

Ryan McCampbell report at bugs.python.org
Wed Sep 26 16:12:46 EDT 2018


Ryan McCampbell <rmccampbell7 at gmail.com> added the comment:

This is how windows looks up commands, as well as the built in "where" command. (Note that windows doesn't actually distinguish between "executable" files and just plain old files, so this could be confusing for UNIX users... a text file for instance will simply open in the default text editor when "executed" by the shell.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31405>
_______________________________________


More information about the Python-bugs-list mailing list