joseph.h.garvin <joseph.h.gar...@gmail.com> added the comment:

Sorry I wasn't trying to make a request, just suggesting one potential 'fix' (I 
agree that it isn't really though) to make things more intutive.

Unless the app is delayed from launching until after the assignment finishes 
though I think a workaround is required. When it's deferred until after the 
assignment you at least have the ability to get it stored into a global. When 
it's not deferred I think you're required to something like disable SIGCHLD 
like you say, spawn the child, enable, and then manually poll each of the 
subprocess popen objects you've opened before to see if they died while the 
signal was down.

I realize now this isn't really a bug. Principle of least surprise is probably 
too much to hope for with signals anyway. Feel free to close unless you want to 
leave it open as a bug to get sigblock/sigsetmask in.

----------

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

Reply via email to