STINNER Victor <victor.stin...@haypocalc.com> added the comment: In the following example, if I kill the child process, the parent is immediatly done: --- from os import getpid from time import sleep from multiprocessing import Process
def f(sec): print("child %s: wait %s seconds" % (getpid(), sec)) sleep(sec) if __name__ == '__main__': print("parent %s: wait child" % (getpid(),)) p = Process(target=f, args=(30,)) p.start() p.join() --- ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11663> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com