SIGN IN SIGN UP

bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201)

Add os.waitstatus_to_exitcode() function to convert a wait status to an
exitcode.

Suggest waitstatus_to_exitcode() usage in the documentation when
appropriate.

Use waitstatus_to_exitcode() in:

* multiprocessing, os, subprocess and _bootsubprocess modules;
* test.support.wait_process();
* setup.py: run_command();
* and many tests.
V
Victor Stinner committed
65a796e5272f61b42792d3a8c69686558c1872c5
Parent: 5dd8360
Committed by GitHub <noreply@github.com> on 4/1/2020, 4:49:29 PM