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

Martin P. Hellwig martin.hellwig at dcuktec.org
Thu Oct 29 07:57:00 EDT 2009


Chris Rebert wrote:
<cut>
>> Except for here:
>> http://msdn.microsoft.com/en-us/library/ms682425%28VS.85%29.aspx
> 
> I was referring to the following bits of the subprocess module used in
> the above code:

Me too actually :-)

> subprocess.mswindows
> subprocess.STARTUPINFO()
> subprocess.STARTF_USESHOWWINDOW
> subprocess.SW_HIDE
> 
> none of which are mentioned in the module's docs:
> http://docs.python.org/dev/py3k/library/subprocess.html

Since this is platform specific stuff I would argue that it has no 
business being repeated, although a link to where it is documented 
elsewhere would have been nice.

-- 
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'



More information about the Python-list mailing list