]> granicus.if.org Git - python/commitdiff
#2634: clarify meaning of env parameter to spawn/exec*e.
authorGeorg Brandl <georg@python.org>
Sat, 19 Apr 2008 16:58:28 +0000 (16:58 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 19 Apr 2008 16:58:28 +0000 (16:58 +0000)
Doc/library/os.rst

index 98d0cf936deb3b52d3f0ebe9e2b9886dda5f82b1..0790f644d87a80729adda154e0abf418644ebb1c 100644 (file)
@@ -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.