[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

Steve Dower report at bugs.python.org
Mon Apr 20 09:20:49 EDT 2020


Steve Dower <steve.dower at python.org> added the comment:

I posted a workaround right above your post for when you want to resolve executables against PATH instead of using Windows's normal rules.

I'm not sure we reached any good approach for launching sys.executable in a venv and automatically bypassing the redirector.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38905>
_______________________________________


More information about the Python-bugs-list mailing list