Guido van Rossum <gu...@python.org> added the comment:

The key is that os.execl() never returns.

My understanding is that the hang happens when the child code returns (or 
raises) in the forked child process, because the semaphore state is cloned by 
the fork.

There is no logging here. I just added some print() calls. (See the script I 
posted.)

----------

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

Reply via email to