[wingide-users] The dreaded black box

David Hughes dfh at forestfield.co.uk
Sun Jan 14 06:11:20 MST 2007


Michael Hipp wrote:
> My application must run a DOS (console) app to accomplish certain 
> things. It uses subprocess.Popen("consoleapp.exe") to accomplish the 
> task. It runs fine but pops an ugly "DOS black box" on top of 
> everything until it terminates
A bit off-topic, but I'm sure Wing Support won't mind too much ;-)

Try:

import win32process      # needs win32all installed

subprocess.Popen(command, creationflags=win32process.CREATE_NO_WINDOW)

Regards,
David Hughes 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20070114/2889e4c8/attachment.html


More information about the wingide-users mailing list