PyDocs

Nav

Concurrent Execution

STARTUPINFO

subprocess

classnot Androidnot iOSnot WASI
  • STARTUPINFO(*, dwFlags=0, hStdInput=None, hStdOutput=None, hStdError=None, wShowWindow=0, lpAttributeList=None)
Partial support of the Windows STARTUPINFO structure is used for Popen creation. The following attributes can be set by passing them as keyword-only arguments.
Changed in 3.7
  • 3.7: Keyword-only argument support was added.
Members of STARTUPINFO

d

dwFlags
A bit field that determines whether certain STARTUPINFO attributes are used when the process creates a window.

h

hStdError
If dwFlags specifies STARTF_USESTDHANDLES, this attribute is the standard error handle for the process.
hStdInput
If dwFlags specifies STARTF_USESTDHANDLES, this attribute is the standard input handle for the process.
hStdOutput
If dwFlags specifies STARTF_USESTDHANDLES, this attribute is the standard output handle for the process.

l

lpAttributeList
A dictionary of additional attributes for process creation as given in STARTUPINFOEX, see UpdateProcThreadAttribute.

w

wShowWindow
If dwFlags specifies STARTF_USESHOWWINDOW, this attribute can be any of the values that can be specified in the nCmdShow parameter for the ShowWindow function, except for SW_SHOWDEFAULT.
0 Examples
No examples for subprocess/STARTUPINFO.
See Also
No see-alsos for subprocess/STARTUPINFO
0 Notes
No notes for STARTUPINFO