diff options
author | Georg Brandl <georg@python.org> | 2008-04-19 16:58:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-04-19 16:58:28 (GMT) |
commit | fb246c410b6c9158c14e0b78ef0feff0f75ae1f6 (patch) | |
tree | 015de56a615b4aba527ce3b8fcaea9958b12fdde | |
parent | 786ead684abe71aa0d6e2fd0175d52e18337ca2e (diff) | |
download | cpython-fb246c410b6c9158c14e0b78ef0feff0f75ae1f6.zip cpython-fb246c410b6c9158c14e0b78ef0feff0f75ae1f6.tar.gz cpython-fb246c410b6c9158c14e0b78ef0feff0f75ae1f6.tar.bz2 |
#2634: clarify meaning of env parameter to spawn/exec*e.
-rw-r--r-- | Doc/library/os.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 98d0cf9..0790f64 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1464,7 +1464,8 @@ to be ignored. 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 @@ written in Python, such as a mail server's external command delivery program. 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. |