[issue35999] multpirocessing.Process alive after SIGTERM on parent

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: This example is not working for me on 3.11: >>> from multiprocessing import Process >>> from time import sleep >>> from os import getpid >>> >>> def log(daemon_mode): ... while True: ... print('worker %i %s' % (getpid(), daemon_mode)) ... sl

[issue35999] multpirocessing.Process alive after SIGTERM on parent

2019-02-17 Thread SilentGhost
Change by SilentGhost : -- nosy: +davin, pitrou type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue35999] multpirocessing.Process alive after SIGTERM on parent

2019-02-15 Thread Defert
New submission from Defert : Hello, Using the multiprocessing.Process class on Python 3.5 (untested with other versions), child processes are not killed when the main process is killed. The doc mentions a "daemon" flag (https://python.readthedocs.io/en/latest/library/multiprocessing.html#mul