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

georg.brandl python-checkins at python.org
Sat Apr 19 18:58:29 CEST 2008


Author: georg.brandl
Date: Sat Apr 19 18:58:28 2008
New Revision: 62390
Log:
#2634: clarify meaning of env parameter to spawn/exec*e.
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	Sat Apr 19 18:58:28 2008
@@ -1464,7 +1464,8 @@
 
 For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` (note
 that these all end in "e"), the *env* parameter must be a mapping which is
- used to define the environment variables for the new process; the :func:`execl`,
+ used to define the environment variables for the new process (these are used
+ instead of the current process' environment); the functions :func:`execl`,
 :func:`execlp`, :func:`execv`, and :func:`execvp` all cause the new process to
 inherit the environment of the current process. Availability: Macintosh, Unix,
 Windows.
@@ -1733,7 +1734,8 @@
 
 For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe`
 (note that these all end in "e"), the *env* parameter must be a mapping
- which is used to define the environment variables for the new process; the
+ which is used to define the environment variables for the new process (they are
+ used instead of the current process' environment); the functions
 :func:`spawnl`, :func:`spawnlp`, :func:`spawnv`, and :func:`spawnvp` all cause
 the new process to inherit the environment of the current process.
 


More information about the Python-checkins mailing list

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