Win XP: How to hide command window for sub processes?

2009-10-29 Thread klausfpga
Hi, I have a Python script which wants to start a subprocess and wait for it to finish. However I would like to have NO command window popping up during execution. My main Python script is started with the .pyw suffix, thus I got rid of the main console and I just see my GUI. So far I tried os.

Re: Win XP: How to hide command window for sub processes?

2009-10-29 Thread klausfpga
On Oct 29, 11:25 am, Rüdiger Ranft <_r...@web.de> wrote: > klausfpga schrieb: > > > Hi, > > > I have a Python script which wants to start a subprocess and wait for > > it to finish. > > > However I would like to have NO command window popping up during

How to start a windows application minimized (or hidden)

2010-11-29 Thread klausfpga
Hi, I'd like to start a windows application minimized As an example I used calc.exe what I tried was using the startupinfo field of subprocess.Popen though I'm not sure, that 'hidden' is really the same as minimized. st_info = subprocess.STARTUPINFO() st_info.dwFlags |= subproc