[Python-checkins] r75403 - python/trunk/Doc/library/os.rst

georg.brandl python-checkins at python.org
Wed Oct 14 17:57:47 CEST 2009


Author: georg.brandl
Date: Wed Oct 14 17:57:46 2009
New Revision: 75403
Log:
#7126: os.environ changes *do* take effect in subprocesses started with os.system().
Modified:
 python/trunk/Doc/library/os.rst
Modified: python/trunk/Doc/library/os.rst
==============================================================================
--- python/trunk/Doc/library/os.rst	(original)
+++ python/trunk/Doc/library/os.rst	Wed Oct 14 17:57:46 2009
@@ -1836,9 +1836,9 @@
 .. 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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /