mirror of
https://github.com/python/cpython.git
synced 2026-02-13 19:04:37 +00:00
Add a comment to explain why we are calling _cleanup()
This commit is contained in:
parent
00ac0d22f3
commit
4b16de4350
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ def start_python(self, cmd_line):
|
|||
infp.close()
|
||||
data = outfp.read()
|
||||
outfp.close()
|
||||
# try to cleanup the child so we don't appear to leak when running
|
||||
# with regrtest -R. This should be a no-op on Windows.
|
||||
popen2._cleanup()
|
||||
return data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue