Steve Dower <steve.do...@python.org> added the comment:
> To avoid this, process() can set a flag based on the image name that prevents > calling maybe_handle_shebang(). Or the other solution, which is stop treating "usr/bin/env" as "search PATH" - I'm sure there's another issue open somewhere saying this is the best approach. At the same time, one other gap is that this would leave the global Scripts folder off of PATH. On one hand, good (for all the same reasons). But on the other hand, people legitimately complain about it and we don't yet have a workaround. Since the whole point of this exercise is to minimise complaining, it's looking better to just leave people with the devil they know... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40667> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com