From f801b0f04cf08d077f648febf4af1b7f94b81dd9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 19 Apr 2008 16:58:49 +0000 Subject: #2633: clarify meaning of env parameter. --- Doc/library/subprocess.rst | 5 +++-- 1 file 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 -- cgit v0.12