run: replace `pycompat.stdin` with `procutil.stdin`

The former was dropped in 5.5, and the latter has been around since 4.1.
10 jobs for branch/default in 18 minutes and 21 seconds
Status Job ID Name Coverage
  Test
failed #86865
allowed to fail
pytype-py3-hg-default

00:17:43

failed #86864
allowed to fail
pytype-py3-hg-stable

00:18:19

passed #86856
tests-py2-hg-5.3

00:01:48

passed #86857
tests-py2-hg-5.4

00:01:47

passed #86859
tests-py2-hg-default

00:06:15

failed #86858
tests-py2-hg-stable

00:04:57

failed #86860
allowed to fail
tests-py3-hg-5.3

00:04:35

failed #86861
allowed to fail
tests-py3-hg-5.4

00:04:33

failed #86863
allowed to fail
tests-py3-hg-default

00:02:27

failed #86862
allowed to fail
tests-py3-hg-stable

00:04:49

 
Name Stage Failure
failed
pytype-py3-hg-stable Test

For more details, see https://google.github.io/pytype/errors.html#module-attr.
ninja: build stopped: cannot make progress due to previous errors.
Computing dependencies
Analyzing 95 sources with 226 local dependencies
make: *** [Makefile:44: pytype] Error 1
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
pytype-py3-hg-default Test
/usr/bin/python3 -m pytype.single --disable pyi-error --imports_info /builds/mercurial/tortoisehg/thg/.pytype/imports/tortoisehg.util.hglib.imports --module-name tortoisehg.util.hglib -V 3.7 -o /builds/mercurial/tortoisehg/thg/.pytype/pyi/tortoisehg/util/hglib.pyi --analyze-annotated --nofail --quick /builds/mercurial/tortoisehg/thg/tortoisehg/util/hglib.py
File "/builds/mercurial/tortoisehg/thg/tortoisehg/util/hglib.py", line 349, in <module>: No attribute 'mergestate' on module 'mercurial.merge' [module-attr]

For more details, see https://google.github.io/pytype/errors.html#module-attr.
ninja: build stopped: cannot make progress due to previous errors.
Computing dependencies
Analyzing 95 sources with 227 local dependencies
make: *** [Makefile:44: pytype] Error 1
ERROR: Job failed: exit code 1
failed
tests-py2-hg-stable Test
creating locale/lv/LC_MESSAGES
generating locale/lv/LC_MESSAGES/tortoisehg.mo from i18n/tortoisehg/lv.po
HGRCPATH= python2 thg version
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
make: *** [Makefile:26: local] Error 1
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
tests-py3-hg-stable Test
creating locale/jv/LC_MESSAGES
generating locale/jv/LC_MESSAGES/tortoisehg.mo from i18n/tortoisehg/jv.po
HGRCPATH= python3 thg version
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
make: *** [Makefile:26: local] Error 1
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
tests-py3-hg-5.3 Test
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarBranchTest::test_open_branches
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarBranchTest::test_selected_closed_branch_removed_from_list
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarBranchTest::test_selected_inactive_branch_removed_from_list
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarEmptyBranchTest::test_branch_combo_enabled_if_closed_branches_included
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarEmptyBranchTest::test_empty_branch_combo_is_disabled
= 82 failed, 60 passed, 50 skipped, 2 deselected, 97 warnings, 224 errors in 21.85s =
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
tests-py3-hg-5.4 Test
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarBranchTest::test_selected_closed_branch_removed_from_list
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarBranchTest::test_selected_inactive_branch_removed_from_list
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarEmptyBranchTest::test_branch_combo_enabled_if_closed_branches_included
ERROR tests/widget/repofilterbar_branch_test.py::RepoFilterBarEmptyBranchTest::test_empty_branch_combo_is_disabled
= 82 failed, 60 passed, 50 skipped, 2 deselected, 97 warnings, 224 errors in 21.74s =
make: *** [Makefile:35: tests] Error 1
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
tests-py3-hg-default Test
    @classmethod
def setUpClass(cls):
cls.hg = hg = helpers.HgClient(helpers.mktmpdir(cls.__name__))
> hg.init()

tests/qt_patchqueuemodel_test.py:26:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/helpers.py:140: in init
return self._dispatch(('init', self.wjoi
ERROR: Job failed: exit code 1