MCPcopy Index your code
hub / github.com/python/cpython / run_child

Method run_child

Lib/test/test_builtin.py:2624–2629  ·  view source on GitHub ↗
(self, child, terminal_input)

Source from the content-addressed store, hash-verified

2622 pass
2623
2624 def run_child(self, child, terminal_input):
2625 old_sighup = signal.signal(signal.SIGHUP, self.handle_sighup)
2626 try:
2627 return self._run_child(child, terminal_input)
2628 finally:
2629 signal.signal(signal.SIGHUP, old_sighup)
2630
2631 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
2632 def _run_child(self, child, terminal_input):

Callers 2

check_input_ttyMethod · 0.95

Calls 1

_run_childMethod · 0.95

Tested by

no test coverage detected