diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-06 17:17:12 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-06 17:17:12 (GMT) |
commit | 45c23e61d88c20aa6a63060654fce182927ef915 (patch) | |
tree | bc7154e0aee1f2bc0d600c430ab3627ceb5d9609 /Doc/lib | |
parent | 15e33d828c8b49fb491655f1a75937a110f4c05a (diff) | |
download | cpython-45c23e61d88c20aa6a63060654fce182927ef915.zip cpython-45c23e61d88c20aa6a63060654fce182927ef915.tar.gz cpython-45c23e61d88c20aa6a63060654fce182927ef915.tar.bz2 |
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.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libpopen2.tex | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/lib/libpopen2.tex b/Doc/lib/libpopen2.tex index 699308c..add0af1 100644 --- a/Doc/lib/libpopen2.tex +++ b/Doc/lib/libpopen2.tex @@ -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} |