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

Chris Rebert clp2 at
Thu Oct 29 13:37:12 CET 2009

On Thu, Oct 29, 2009 at 4:57 AM, Martin P. Hellwig
<martin.hellwig at> wrote:
> Chris Rebert wrote:
> <cut>
>>> Except for here:
>> I was referring to the following bits of the subprocess module used in
>> the above code:
> Me too actually :-)
>> subprocess.mswindows
>> subprocess.STARTUPINFO()
>> subprocess.SW_HIDE
>> none of which are mentioned in the module's docs:
> 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.

True, the Windows APIs are documented but it's not mentioned at all
that they're accessible in a certain form from subprocess.
Many other stdlib modules (e.g. `os` - include and list
platform-specific functions, I don't see why subprocess should be


More information about the Python-list mailing list