Terry J. Reedy <tjre...@udel.edu> added the comment:
Can you attach a script or post an interactive session, with both success and failure, showing that returncode is set appropriately after reading output? Possible calls: '''python -c "print('Success')"''', "raise Exception('Failure')". Or point to a test in test_subprocess. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40707> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com