mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Explain the exit code for the wait() method, including a reference to
the os.W*() functions used to interpret the return value. This fixes SF bug #429361.
This commit is contained in:
parent
15e33d828c
commit
45c23e61d8
1 changed files with 6 additions and 1 deletions
|
@ -77,7 +77,12 @@ code otherwise.
|
|||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}{wait}{}
|
||||
Waits for and returns the return code of the child process.
|
||||
Waits for and returns the status code of the child process. The
|
||||
status code encodes both the return code of the process and
|
||||
information about whether it exited using the \cfunction{exit()}
|
||||
system call or died due to a signal. Functions to help interpret the
|
||||
status code are defined in the \refmodule{os} module; see section
|
||||
\ref{os-process} for the \function{W\var{*}()} family of functions.
|
||||
\end{methoddesc}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue