diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-04-15 22:33:07 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-04-15 22:33:07 (GMT) |
commit | 6076d399b4a044c64d346a343d885248f824fd0b (patch) | |
tree | 022ab0243bc98129471512075efde9e70507703f | |
parent | 99d36f15639b9efa9ad110005605ae28ca65e829 (diff) | |
download | cpython-6076d399b4a044c64d346a343d885248f824fd0b.zip cpython-6076d399b4a044c64d346a343d885248f824fd0b.tar.gz cpython-6076d399b4a044c64d346a343d885248f824fd0b.tar.bz2 |
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.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index f4eafc4..eb12bff 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -102,6 +102,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 |