[issue39260] find_executable() Fails To Find Many Executables on Windows

2020-01-08 Thread STINNER Victor
STINNER Victor added the comment: find_executable() rely on the PATH environment variable: def find_executable(executable, path=None): """Tries to find 'executable' in the directories listed in 'path'. A string listing directories separated by 'os.pathsep'; defaults to os.environ[

[issue39260] find_executable() Fails To Find Many Executables on Windows

2020-01-08 Thread Thomas Passin
New submission from Thomas Passin : On Windows, find_executable() in distutils.spawn may fail to find executables that it ought to. This is because the PATH environmental variable no longer includes %ProgramFiles% and %ProgramFiles(x86)%. At least, that is the case on my brand new Windows 1