[issue47170] py launcher on windows opens new terminal window when parsing python script with shebang

2022-03-30 Thread Christian Ascia


Christian Ascia  added the comment:

Thanks, it works now!

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue47170>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47170] py launcher on windows opens new terminal window when parsing python script with shebang

2022-03-30 Thread Christian Ascia


Christian Ascia  added the comment:

It happens when i run "my-script.py".
I checked all terminal emulators on my system, it happens on PowerShell 7, in 
all Windows Terminal profiles (including cmd profile), in integrated terminals 
on vscode but not in cmd.

--

___
Python tracker 
<https://bugs.python.org/issue47170>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47170] py launcher on windows opens new terminal window when parsing python script with shebang

2022-03-30 Thread Christian Ascia


New submission from Christian Ascia :

Hi, as the title describes, i noticed this unfornutate behavior preventing me 
to run directly python scripts in terminal without using the py command. I 
searched in the documentation but i couldn't find flags to prevent py launcher 
from opening a new window.

--
components: Windows
messages: 416380
nosy: asciachristian, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: py launcher on windows opens new terminal window when parsing python 
script with shebang
type: behavior
versions: Python 3.10

___
Python tracker 
<https://bugs.python.org/issue47170>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com