gh-103300: Fix Popen.wait() deadlock in patchcheck.py
#103301
Merged
Popen.wait() deadlock in patchcheck.py
#103301