cpython: f8fae22a1ff0 (original) (raw)

Mercurial > cpython

changeset 69701:f8fae22a1ff0

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

Brian Curtin brian@python.org
date Fri, 29 Apr 2011 22:21:35 -0500
parents 2665a28643b8(current diff)f0092c611004(diff)
children 0c21de0cca44
files Doc/library/subprocess.rst
diffstat 1 files changed, 107 insertions(+), 3 deletions(-)[+] [-] Doc/library/subprocess.rst 110

line wrap: on

line diff

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

+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 +

+.. data:: CREATE_NEW_PROCESS_GROUP +

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