Commit 23723929 authored by Vincent Pelletier's avatar Vincent Pelletier

Exit with error status when an exception occurred.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2537 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent eeaa661c
......@@ -82,7 +82,7 @@ class NEOProcess(object):
# If we reach this line, exec call failed (is it possible to reach
# it without going through above "except" branch ?).
print 'Error executing %r.' % (command + ' ' + ' '.join(args), )
self._exit()
self._exit(-1)
def _exit(self):
# KeyboardInterrupt is not intercepted by test runner (it is still
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment