On 2/17/2015 10:52 AM, Barry Warsaw wrote: > Probably the best thing to do (on *nix at least) is, if the path is absolute, > use the given string verbatim. If the path is relative, search for the given > executable on $PATH and use the first one found. If nothing is found, use > what's given explicitly. I think searching would be inappropriate. Just use what is given, as a string. If the user wants a search, they can use `which`. Otherwise, setting to a relative path reliably would be hard (and sometimes desirable). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150217/861312e9/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4