Skip to content

Tweak subprocess.STARTUPINFO documentation #347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions Doc/library/subprocess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -746,12 +746,16 @@ Windows Popen Helpers
The :class:`STARTUPINFO` class and following constants are only available
on Windows.

.. class:: STARTUPINFO()
.. class:: STARTUPINFO(*, dwFlags=0, hStdInput=None, hStdOutput=None, \
hStdError=None, wShowWindow=0)

Partial support of the Windows
`STARTUPINFO <https://msdn.microsoft.com/en-us/library/ms686331(v=vs.85).aspx>`__
structure is used for :class:`Popen` creation. The following attributes can be set
by passing them as keyword-only arguments.
structure is used for :class:`Popen` creation. The following attributes can
be set by passing them as keyword-only arguments.

.. versionchanged:: 3.7
Keyword-only argument support was added.

.. attribute:: dwFlags

Expand Down Expand Up @@ -793,8 +797,6 @@ on Windows.
:data:`SW_HIDE` is provided for this attribute. It is used when
:class:`Popen` is called with ``shell=True``.

.. versionchanged:: 3.7
*Keyword-only argument* support was added.

Constants
^^^^^^^^^
Expand Down