STINNER Victor <vstin...@python.org> added the comment:

> check2 = os.popen('grep "net\.ipv4\.ip_forward" /etc/sysctl.conf 
> /etc/sysctl.d/*').read()

Such code leaks a zombi process when the child process completes, because the 
parent never reads its exit status :-(

----------

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

Reply via email to