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.
This commit is contained in:
R. David Murray 2009-04-15 22:33:07 +00:00
parent 99d36f1563
commit 6076d399b4
1 changed files with 7 additions and 0 deletions

View File

@ -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 variables for the new process; these are used instead of inheriting the current
process' environment, which is the default behavior. 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 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 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 end-of-line convention, ``'\r'``, the old Macintosh convention or ``'\r\n'``, the