[New-bugs-announce] [issue27980] Add better pythonw support to py launcher
report at bugs.python.org
Tue Sep 6 15:00:40 EDT 2016
New submission from Mark Summerfield:
The excellent py.exe launcher on Windows always uses a python.exe interpreter (although another issue suggests it will use pythonw.exe when the python file has a .pyw suffix which is good).
However, if one wanted to provide a .bat file like this:
py -3 MyGuiApp.pyw %*
python.exe would be used rather than pythonw.exe.
My suggestion is to add a -w and/or --win(dows) flag which forces the use of pythonw.exe.
nosy: mark, paul.moore, steve.dower, tim.golden, zach.ware
title: Add better pythonw support to py launcher
versions: Python 3.6, Python 3.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce