This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pythonw.exe should not flash DOS windows
Type: enhancement Stage:
Components: Windows Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: eehelzer, georg.brandl, loewis
Priority: normal Keywords:

Created on 2003-12-03 23:49 by eehelzer, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg54073 - (view) Author: Amir Helzer (eehelzer) Date: 2003-12-03 23:49
Python version 2.3.

I'm using pythonw (and py2exe) to build a windows 
application.

When new processes are launched, using os.system() or 
os.spawn a DOS windows flashes for a moment and then 
vanishes. It makes the application look funny.

When the same application is run via python (and not 
pythonw) this doesn't happen. New processes don't 
create a flashing DOS window.

It would be nice if pythonw.exe could function similar to 
python.exe, just without the constant DOS window in 
the background.

The same behavior occures when running the program 
via pythonw.exe <fname.py> or when compiling with 
py2exe -w.

Amir
msg54074 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-01-18 10:04
Logged In: YES 
user_id=21627

The "flashing window" is created by the Microsoft C library,
in its system() and spawn() implementations. If you don't
want that window, you need to use CreateProcess instead.
msg54075 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-09-01 10:56
Logged In: YES 
user_id=1188172

Closing as Won't Fix, then.
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39659
2003-12-03 23:49:20eehelzercreate