fixeria has submitted this change. ( https://gerrit.osmocom.org/c/python/osmo-python-tests/+/32929 )
Change subject: osmoutil: print return code in end_proc() ......................................................................
osmoutil: print return code in end_proc()
Change-Id: If11616be6e9afc85814fa0b494e231cc7530459c Related: OS#5665 --- M osmopy/osmoutil.py 1 file changed, 12 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified dexter: Looks good to me, approved
diff --git a/osmopy/osmoutil.py b/osmopy/osmoutil.py index ec9c8c3..ecd88f2 100755 --- a/osmopy/osmoutil.py +++ b/osmopy/osmoutil.py @@ -68,7 +68,8 @@ print("Killed child process") elif waited_time > .002: print("Terminating took %.3fs" % waited_time) - proc.wait() + rc = proc.wait() + print("Process returned code: %d" % rc)
"""Add a directory to sys.path, try to import a config file."""