summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-04-15 22:35:15 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-04-15 22:35:15 (GMT)
commitf4ac1494dc0dc9c414cb5ca293afa5ee7044bab3 (patch)
tree76f62ce409dbee9051677813072b2bc91e874c57
parent2808d3c41847ba1f8e07ee678742b6f12528face (diff)
downloadcpython-f4ac1494dc0dc9c414cb5ca293afa5ee7044bab3.zip
cpython-f4ac1494dc0dc9c414cb5ca293afa5ee7044bab3.tar.gz
cpython-f4ac1494dc0dc9c414cb5ca293afa5ee7044bab3.tar.bz2
Merged revisions 71631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines Fix for issue3440: add warning to subprocess discussion of env parameter that on Windows SystemRoot is required in order to run side-by-side assemblies. ........
-rw-r--r--Doc/library/subprocess.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 7f5e1ab..8ae01da 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -97,6 +97,13 @@ This module defines one class called :class:`Popen`:
variables for the new process; these are used instead of inheriting the current
process' environment, which is the default behavior.
+ .. warning::
+
+ When replacing the environment you must provide any variables
+ required for the program to execute. On Windows, in order to run
+ a side-by-side assembly the specified *env* must include a valid
+ :envvar:`SystemRoot`.
+
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
end-of-line convention, ``'\r'``, the old Macintosh convention or ``'\r\n'``, the