[issue40667] [Windows] Add global python and python3 commands

Eryk Sun report at bugs.python.org
Mon May 18 11:15:31 EDT 2020


Eryk Sun <eryksun at gmail.com> added the comment:

> For "python.exe", run as "py.exe", which is subject to shebangs,
> VIRTUAL_ENV, and PY_PYTHON.

Maybe in the "python[w].exe" case, it should skip shebang processing. That way only py[w].exe would handle shebangs, such as for the template command that gets installed as the default .py[w] file association: C:\Windows\py[w].exe "%1" %*.

----------

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


More information about the Python-bugs-list mailing list