class subprocess.STARTUPINFO 
Partial support of the Windows STARTUPINFO structure is used for Popen creation.
- 
dwFlags
- 
A bit field that determines whether certain STARTUPINFOattributes are used when the process creates a window.si = subprocess.STARTUPINFO() si.dwFlags = subprocess.STARTF_USESTDHANDLES | subprocess.STARTF_USESHOWWINDOW 
- 
hStdInput
- 
If dwFlagsspecifiesSTARTF_USESTDHANDLES, this attribute is the standard input handle for the process. IfSTARTF_USESTDHANDLESis not specified, the default for standard input is the keyboard buffer.
- 
hStdOutput
- 
If dwFlagsspecifiesSTARTF_USESTDHANDLES, this attribute is the standard output handle for the process. Otherwise, this attribute is ignored and the default for standard output is the console window’s buffer.
- 
hStdError
- 
If dwFlagsspecifiesSTARTF_USESTDHANDLES, this attribute is the standard error handle for the process. Otherwise, this attribute is ignored and the default for standard error is the console window’s buffer.
- 
wShowWindow
- 
If dwFlagsspecifiesSTARTF_USESHOWWINDOW, this attribute can be any of the values that can be specified in thenCmdShowparameter for the ShowWindow function, except forSW_SHOWDEFAULT. Otherwise, this attribute is ignored.SW_HIDEis provided for this attribute. It is used whenPopenis called withshell=True.
 
          
Please login to continue.