Commit 2decd40e authored by Grégory Wisniewski's avatar Grégory Wisniewski

Avoid a fork-bomb while running tests.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2607 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8aaba9ec
...@@ -89,7 +89,7 @@ class NEOProcess(object): ...@@ -89,7 +89,7 @@ class NEOProcess(object):
def _exit(self, status=0): def _exit(self, status=0):
sys.stdout = sys.stderr = open('/dev/null', 'w') sys.stdout = sys.stderr = open('/dev/null', 'w')
sys.exit(status) raise KeyboardInterrupt
def kill(self, sig=signal.SIGTERM): def kill(self, sig=signal.SIGTERM):
if self.pid: if self.pid:
......
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