##// END OF EJS Templates
Reverted changeset e254bcbfe636e97301f76c7da241b07be14f3d36...
Thomas Arendsen Hein -
r1169:e388c4f5 default
parent child Browse files
Show More
@@ -342,8 +342,6 b' else:'
342
342
343 def explain_exit(code):
343 def explain_exit(code):
344 """return a 2-tuple (desc, code) describing a process's status"""
344 """return a 2-tuple (desc, code) describing a process's status"""
345 if os.name == 'nt': # os.WIFxx is not supported on windows
346 return "aborted with error." , -1
347 if os.WIFEXITED(code):
345 if os.WIFEXITED(code):
348 val = os.WEXITSTATUS(code)
346 val = os.WEXITSTATUS(code)
349 return "exited with status %d" % val, val
347 return "exited with status %d" % val, val
General Comments 0
You need to be logged in to leave comments. Login now