##// END OF EJS Templates
Fixed system command abord reason on windows.
Volker.Kleinfeld@gmx.de -
r1075:e254bcbf default
parent child Browse files
Show More
@@ -276,6 +276,8 b' else:'
276
276
277 def explain_exit(code):
277 def explain_exit(code):
278 """return a 2-tuple (desc, code) describing a process's status"""
278 """return a 2-tuple (desc, code) describing a process's status"""
279 if os.name == 'nt': # os.WIFxx is not supported on windows
280 return "aborted with error." , -1
279 if os.WIFEXITED(code):
281 if os.WIFEXITED(code):
280 val = os.WEXITSTATUS(code)
282 val = os.WEXITSTATUS(code)
281 return "exited with status %d" % val, val
283 return "exited with status %d" % val, val
General Comments 0
You need to be logged in to leave comments. Login now