[issue45409] Support non-standard executables in venv

2021-10-07 Thread Steve Dower
Steve Dower added the comment: Pushed the branch so the changes are out there, but I still need to check (and probably fix) some handling of the Store package layout. The changes now will probably create some executables that won't work (pip.exe and idle.exe), so we might have to go back to

[issue45409] Support non-standard executables in venv

2021-10-07 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +27135 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28817 ___ Python tracker _

[issue45409] Support non-standard executables in venv

2021-10-07 Thread Steve Dower
New submission from Steve Dower : Currently the venv redirector on Windows is hardcoded for "python.exe" and "pythonw.exe". There is no good reason for this, and it's fairly easy to make the redirector able to invoke any executable in the base environment by inspecting its own name. This wou