MCPcopy Index your code
hub / github.com/RustPython/RustPython / run_child

Method run_child

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

Source from the content-addressed store, hash-verified

2573 pass
2574
2575 def run_child(self, child, terminal_input):
2576 old_sighup = signal.signal(signal.SIGHUP, self.handle_sighup)
2577 try:
2578 return self._run_child(child, terminal_input)
2579 finally:
2580 signal.signal(signal.SIGHUP, old_sighup)
2581
2582 def _run_child(self, child, terminal_input):
2583 r, w = os.pipe() # Pipe test results from child back to parent

Callers 2

check_input_ttyMethod · 0.95

Calls 1

_run_childMethod · 0.95

Tested by

no test coverage detected