[Python-checkins] r62391 - python/trunk/Doc/library/subprocess.rst
georg.brandl
python-checkins at python.org
Sat Apr 19 18:58:49 CEST 2008
Author: georg.brandl
Date: Sat Apr 19 18:58:49 2008
New Revision: 62391
Log:
#2633: clarify meaning of env parameter.
Modified:
python/trunk/Doc/library/subprocess.rst
Modified: python/trunk/Doc/library/subprocess.rst
==============================================================================
--- python/trunk/Doc/library/subprocess.rst (original)
+++ python/trunk/Doc/library/subprocess.rst Sat Apr 19 18:58:49 2008
@@ -93,8 +93,9 @@
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
More information about the Python-checkins
mailing list