Ask Solem <a...@opera.com> added the comment: Since you can't specify the return code, `self.terminate` is less flexible than `sys.exit`.
I think the original intent is clear here, the method is there for the parent to control the child. You are of course welcome to argue otherwise. By the way, I just read the code and noticed that it handles SystemExit well, and supports using it to set the return code: class X(Process): def run(self): if not frobulating: raise SystemExit(255) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8028> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com