[issue46002] py Launcher for Windows with MSYS2

2021-12-08 Thread Zernoxi
Zernoxi added the comment: True, that would work but it not ideal "Unix". I'll closed this since not unintended behavior. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bu

[issue46002] py Launcher for Windows with MSYS2

2021-12-07 Thread Zernoxi
Zernoxi added the comment: Is there a way to not parse certain paths in the PATH environment variable for the shebang: "#!/usr/bin/env python". I get that it is trying to mimic Unix "env" function but is it not conflicting if there is a python install but it is not re

[issue46002] py Launcher for Windows with MSYS2

2021-12-06 Thread Zernoxi
Zernoxi added the comment: My bad, I guess its not a bug. Didn't read the documents correctly. -- ___ Python tracker <https://bugs.python.org/is

[issue46002] py Launcher for Windows with MSYS2

2021-12-06 Thread Zernoxi
Zernoxi added the comment: Is there a way to "ignore" MSYS2 "bin" folder? Because "pyenv" is a wrapper for python versions and its python.exe is not explicitly in the PATH environment variable. -- ___ Python tra

[issue46002] py Launcher for Windows with MSYS2

2021-12-06 Thread Zernoxi
Zernoxi added the comment: I did some more testing more testing some more testing and saw that eryksun pointed out that the PATH environment variable is also being checked. I thought that it only checked for registered pythons but anyway. If I remove the "bin" folder to MSYS2 then

[issue46002] py Launcher for Windows with MSYS2

2021-12-06 Thread Zernoxi
Zernoxi added the comment: I am launching "py" from a regular prompt ("powershell"). I should only have 2 registered python versions in the registry. "py -0p" shows the correct information. One thing to note is that if I "#!/usr/bin/env python3 -V", i