On Tue, May 19, 2020, at 5:41 AM, Jean-Paul Calderone wrote: > On Tue, May 19, 2020 at 8:33 AM Barry Scott <[email protected]> > wrote: >> Why not waitpid for all children (pid=0 or pid=-1) in a single call? > > Because then you might reap a child process someone launched with a different > API - eg the Python subprocess module.
Exactly. I am currently using this as a workaround, but it's not a general solution. You need to be careful because subprocess use hides in many places. For example, beware uuid.uuid1(). ---Tom
_______________________________________________ Twisted-Python mailing list [email protected] https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
