[ python-Feature Requests-853698 ] pythonw.exe should not flash DOS windows

SourceForge.net noreply at sourceforge.net
Thu Sep 1 12:56:47 CEST 2005


Feature Requests item #853698, was opened at 2003-12-04 00:49
Message generated for change (Settings changed) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=853698&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Amir Helzer (eehelzer)
Assigned to: Nobody/Anonymous (nobody)
Summary: pythonw.exe should not flash DOS windows

Initial Comment:
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


----------------------------------------------------------------------

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-09-01 12:56

Message:
Logged In: YES 
user_id=1188172

Closing as Won't Fix, then.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2004-01-18 11:04

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=853698&group_id=5470


More information about the Python-bugs-list mailing list