1. Armin Rigo
  2. cpython-withatomic


Fred Drake  committed b68940c

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.

  • Participants
  • Parent commits afda5ff
  • Branches 2.1

Comments (0)

Files changed (1)

File Doc/lib/libpopen2.tex

View file
  • Ignore whitespace
-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.