[issue39260] distutils.spawn: find_executable() Fails To Find Many Executables on Windows

2020-01-08 Thread Thomas Passin
Thomas Passin added the comment: I came across it while working on some code running in the Leo editor. I had no idea it was not really public; I just assumed that someone knew something I didn't. Then I discovered that it couldn't find some files I thought it clearly should,

[issue39260] distutils.spawn: find_executable() Fails To Find Many Executables on Windows

2020-01-08 Thread Thomas Passin
Thomas Passin added the comment: That's so, and with a bit more complexity might be worth doing. At least, it would be good to have *some* means to find more the the executable files one would expect to find. -- ___ Python tracker &

[issue39260] distutils.spawn: find_executable() Fails To Find Many Executables on Windows

2020-01-08 Thread Thomas Passin
Thomas Passin added the comment: Well, yes, I realize that I could add the directories. But random users of find_executible may not realize that. Actually, it's probably a bit more complex than just adding the top-level directories %ProgramFiles% and %ProgramFiles(x86)%, be

[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