diff options
author | Georg Brandl <georg@python.org> | 2008-04-19 16:58:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-04-19 16:58:49 (GMT) |
commit | f801b0f04cf08d077f648febf4af1b7f94b81dd9 (patch) | |
tree | 4b01be702f466e2c30acb174a31afbf21514ba39 /Doc/library/subprocess.rst | |
parent | fb246c410b6c9158c14e0b78ef0feff0f75ae1f6 (diff) | |
download | cpython-f801b0f04cf08d077f648febf4af1b7f94b81dd9.zip cpython-f801b0f04cf08d077f648febf4af1b7f94b81dd9.tar.gz cpython-f801b0f04cf08d077f648febf4af1b7f94b81dd9.tar.bz2 |
#2633: clarify meaning of env parameter.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r-- | Doc/library/subprocess.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index d1471f1..b93bd03 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -93,8 +93,9 @@ This module defines one class called :class:`Popen`: searching the executable, so you can't specify the program's path relative to *cwd*. - If *env* is not ``None``, it defines the environment variables for the new - process. + If *env* is not ``None``, it must be a mapping that defines the environment + variables for the new process; these are used instead of inheriting the current + process' environment, which is the default behavior. If *universal_newlines* is :const:`True`, the file objects stdout and stderr are opened as text files, but lines may be terminated by any of ``'\n'``, the Unix |