]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 71633 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Wed, 15 Apr 2009 22:38:32 +0000 (22:38 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 15 Apr 2009 22:38:32 +0000 (22:38 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71633 | r.david.murray | 2009-04-15 18:35:15 -0400 (Wed, 15 Apr 2009) | 11 lines

  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.
  ........
................

Doc/library/subprocess.rst

index 0862db01a86d271d2ae6105819e0e696b89b7b14..07112ba480fc33b2f785c04b1ce7d3dc92b397f8 100644 (file)
@@ -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