]> granicus.if.org Git - python/commitdiff
#7126: os.environ changes *do* take effect in subprocesses started with os.system().
authorGeorg Brandl <georg@python.org>
Wed, 14 Oct 2009 15:57:46 +0000 (15:57 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 14 Oct 2009 15:57:46 +0000 (15:57 +0000)
Doc/library/os.rst

index 260b3b3bf7c1c50153df6dd7bf44c90db8f84814..432de126ffdc68a05365ccfa058f379c4c3f827a 100644 (file)
@@ -1836,9 +1836,9 @@ written in Python, such as a mail server's external command delivery program.
 .. function:: system(command)
 
    Execute the command (a string) in a subshell.  This is implemented by calling
-   the Standard C function :cfunc:`system`, and has the same limitations.  Changes
-   to :data:`os.environ`, :data:`sys.stdin`, etc. are not reflected in the
-   environment of the executed command.
+   the Standard C function :cfunc:`system`, and has the same limitations.
+   Changes :data:`sys.stdin`, etc. are not reflected in the environment of the
+   executed command.
 
    On Unix, the return value is the exit status of the process encoded in the
    format specified for :func:`wait`.  Note that POSIX does not specify the meaning