[issue27980] Add better pythonw support to py launcher

2016-09-06 Thread Eryk Sun
Eryk Sun added the comment: > Naturally pyw -h produces no output It needs help: `pyw -h 2>&1 | more`. This sets the StandardOutput and StandardError as the write end of a pipe. more.com reads from the pipe and pages the help text to the console. Maybe this needs a new issue to have `pyw -h`

[issue27980] Add better pythonw support to py launcher

2016-09-06 Thread Mark Summerfield
Mark Summerfield added the comment: Sorry, I didn't even know that pyw.exe existed. Naturally pyw -h produces no output, but maybe py -h could mention it? -- ___ Python tracker

[issue27980] Add better pythonw support to py launcher

2016-09-06 Thread Eryk Sun
Eryk Sun added the comment: py.exe is a console application. There's no point in using it to run pythonw.exe. Use pyw.exe, as Zachary suggests. Or better yet, just run `MyGuiApp.pyw %*`. Unless you've reconfigured the .pyw file association, it should run via pyw.exe. -- nosy: +eryksun

[issue27980] Add better pythonw support to py launcher

2016-09-06 Thread Zachary Ware
Zachary Ware added the comment: pyw.exe is installed alongside py.exe, is it insufficient? -- ___ Python tracker ___ ___ Python-bugs-l

[issue27980] Add better pythonw support to py launcher

2016-09-06 Thread Mark Summerfield
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: @echo of