Skip to content

Commit 22909cb

Browse files
committed
Merge branch 'exec_doco' of https://github.com/jlownie/cpython into exec_doco
2 parents 7ab5de3 + 090bce8 commit 22909cb

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/os.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4271,7 +4271,7 @@ These functions may be used to create and manage processes.
42714271
:func:`sys.stdout.flush` or :func:`os.fsync` before calling an
42724272
:func:`exec\* <execl>` function.
42734273

4274-
*Arguments*
4274+
*Program arguments*
42754275

42764276
The various :func:`exec\* <execl>` functions take a list of arguments for the new
42774277
program loaded into the process. In each case, the first of these arguments must
@@ -4303,8 +4303,8 @@ These functions may be used to create and manage processes.
43034303
discussed in the next paragraph), the new environment is used as the source of
43044304
the :envvar:`PATH` variable.
43054305

4306-
The other variants, :func:`execl`, :func:`execle`,
4307-
:func:`execv`, and :func:`execve`, will not use the :envvar:`PATH` variable to
4306+
The variants without "p" (:func:`execl`, :func:`execle`,
4307+
:func:`execv`, and :func:`execve`) will not use the :envvar:`PATH` variable to
43084308
locate the executable; *path* must contain an appropriate absolute or relative
43094309
path. Relative paths must include at least one slash, even on Windows, as
43104310
plain names will not be resolved.
@@ -4337,7 +4337,7 @@ These functions may be used to create and manage processes.
43374337
.. seealso::
43384338
The :mod:`subprocess` module.
43394339

4340-
The :func:`system` and :func:`spawnl` functions also execute a system command.
4340+
The :func:`system` and :func:`spawn <spawnl>` functions also execute a new program.
43414341

43424342
.. function:: _exit(n)
43434343

@@ -4917,7 +4917,7 @@ written in Python, such as a mail server's external command delivery program.
49174917
.. seealso::
49184918
The :mod:`subprocess` module.
49194919

4920-
The :func:`system` and :func:`execl` functions also execute a system command.
4920+
The :func:`system` and :func:`exec <execl>` functions also execute a new program.
49214921

49224922
.. data:: P_NOWAIT
49234923
P_NOWAITO
@@ -5036,7 +5036,7 @@ written in Python, such as a mail server's external command delivery program.
50365036
.. seealso::
50375037
The :mod:`subprocess` module.
50385038

5039-
The :func:`execl` and :func:`spawnl` functions also execute a system command.
5039+
The :func:`exec <execl>` and :func:`spawn <spawnl>` functions also execute a system command.
50405040

50415041
.. function:: times()
50425042

0 commit comments

Comments
 (0)