]> granicus.if.org Git - python/commit
bpo-31160: Fix test_builtin for zombie process (#3043)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 9 Aug 2017 15:44:19 +0000 (17:44 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2017 15:44:19 +0000 (17:44 +0200)
commit4baca1b0f7325032598cd38e7ceffc79b616d255
tree66687ca7d5e3dcf9c63264a54dff36973ee58179
parent122081deef86174beee965be1207fa46ea23533d
bpo-31160: Fix test_builtin for zombie process (#3043)

PtyTests.run_child() now calls os.waitpid() to read the exit status
of the child process to avoid creating zombie process and leaking
processes in the background.
Lib/test/test_builtin.py