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

SourceForge.net noreply at sourceforge.net
Sun Jan 18 05:04:47 EST 2004


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

Category: Windows
Group: None
Status: Open
Resolution: None
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: 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