bpo-40094: Enhance _bootsubprocess by vstinner · Pull Request #19264 · python/cpython

Conversation

@vstinner

  • Add _waitstatus_to_exitcode() helper function to _bootsubprocess.
  • Enhance check_output() error message if the command fails.

_bootsubprocess no longer handles WIFSTOPPED() case: it now raises a
ValueError.

https://bugs.python.org/issue40094

* Add _waitstatus_to_exitcode() helper function to _bootsubprocess.
* Enhance check_output() error message if the command fails.

_bootsubprocess no longer handles WIFSTOPPED() case: it now raises a
ValueError.

Labels