Stephen Moore <delfick...@gmail.com> added the comment: I just realised python3 sets it's own __PYVENV_LAUNCHER__ and if you unset it before calling to os.execv, then the virtualenv has the correct sys.executable.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31660> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com