##// END OF EJS Templates
procutil: do not convert return code of signal exit to positive number (API)...
Yuya Nishihara -
r37480:c0d0fd87 default
parent child Browse files
Show More
@@ -83,7 +83,7 b' def explainexit(code):'
83 (codes from kill are negative - not os.system/wait encoding)"""
83 (codes from kill are negative - not os.system/wait encoding)"""
84 if code >= 0:
84 if code >= 0:
85 return _("exited with status %d") % code, code
85 return _("exited with status %d") % code, code
86 return _("killed by signal %d") % -code, -code
86 return _("killed by signal %d") % -code, code
87
87
88 class _pfile(object):
88 class _pfile(object):
89 """File-like wrapper for a stream opened by subprocess.Popen()"""
89 """File-like wrapper for a stream opened by subprocess.Popen()"""
General Comments 0
You need to be logged in to leave comments. Login now