Commit 13e86665 authored by Julien Muchembled's avatar Julien Muchembled

tests: prevent child from killing other children at exit

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2718 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d0c8b63b
......@@ -130,6 +130,8 @@ class NEOProcess(object):
self.pid = os.fork()
if self.pid == 0:
# Child
# prevent child from killing anything
del self.__class__.__del__
try:
sys.argv = [command] + args
getattr(neo.scripts, command).main()
......
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