diff options
-rw-r--r-- | Lib/mailcap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/mailcap.py b/Lib/mailcap.py index bd0fc09..ae416a8 100644 --- a/Lib/mailcap.py +++ b/Lib/mailcap.py @@ -251,6 +251,7 @@ def test(): else: print("Executing:", command) sts = os.system(command) + sts = os.waitstatus_to_exitcode(sts) if sts: print("Exit status:", sts) |