Eryk Sun added the comment:

In 3.4+ it works correctly with the "spawn" start method. This uses 
multiprocessing.spawn.spawn_main, which exits the child via sys.exit(exitcode). 
"fork" and "forkserver" exit the child via os._exit(code), respectively in 
multiprocessing.popen_fork.Popen._launch and multiprocessing.forkserver.main.

----------
nosy: +eryksun
versions: +Python 3.5, Python 3.6 -Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18966>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to