]> granicus.if.org Git - python/commitdiff
Fix for issue3440: add warning to subprocess discussion of
authorR. David Murray <rdmurray@bitdance.com>
Wed, 15 Apr 2009 22:33:07 +0000 (22:33 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 15 Apr 2009 22:33:07 +0000 (22:33 +0000)
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.

Doc/library/subprocess.rst

index f4eafc4a5e5e08ea75b3c0c7de818ac7a32db038..eb12bff9ba0dfa7f32ee0f79e66b973458bec1ce 100644 (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
    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