This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tbpassin
Recipients dstufft, eric.araujo, tbpassin, vstinner
Date 2020-01-08.16:27:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578500866.04.0.330474255287.issue39260@roundup.psfhosted.org>
In-reply-to
Content
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)%, because  find_executable probably doesn't do a recursive search.  In that the best tactic would be to look in those top-level directories for a directory with the same name as the executable.  If one is found, then look in it for the actual file.

For example, on my computer, inkscape.exe is at %ProgramFiles%\Inkscape
inkscape.exe, and that pattern is very common.

This tactic would find many of the otherwise unfound executables, and still execute quickly.
History
Date User Action Args
2020-01-08 16:27:46tbpassinsetrecipients: + tbpassin, vstinner, eric.araujo, dstufft
2020-01-08 16:27:46tbpassinsetmessageid: <1578500866.04.0.330474255287.issue39260@roundup.psfhosted.org>
2020-01-08 16:27:46tbpassinlinkissue39260 messages
2020-01-08 16:27:45tbpassincreate