cpython: 609ca9d71aba (original) (raw)

Mercurial > cpython

changeset 69698:609ca9d71aba 3.1

Fix #11961. Document STARTUPINFO and creation flag options. [#11961]

Brian Curtin brian@python.org
date Fri, 29 Apr 2011 22:17:51 -0500
parents c4a9149d467f
children cd68b3031f00
files Doc/library/subprocess.rst
diffstat 1 files changed, 98 insertions(+), 3 deletions(-)[+] [-] Doc/library/subprocess.rst 101

line wrap: on

line diff

--- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -171,9 +171,9 @@ This module defines one class called :cl :attr:stdout, :attr:stdin and :attr:stderr are not updated by the :meth:communicate method.

.. data:: PIPE @@ -428,6 +428,101 @@ The following attributes are also availa N (Unix only). +Windows Popen Helpers +--------------------- + +The :class:STARTUPINFO class and following constants are only available +on Windows. + +.. class:: STARTUPINFO()

+

+

+

+

+

+ + +Constants +^^^^^^^^^ + +The :mod:subprocess module exposes the following constants. + +.. data:: STD_INPUT_HANDLE +

+.. data:: STD_OUTPUT_HANDLE +

+.. data:: STD_ERROR_HANDLE +

+.. data:: SW_HIDE +

+.. data:: STARTF_USESTDHANDLES +

+.. data:: STARTF_USESHOWWINDOW +

+.. data:: CREATE_NEW_CONSOLE +

+ .. _subprocess-replacements: Replacing Older Functions with the subprocess Module