Start a timer to `kill` our subprocess after ``timeout`` seconds.
(self, timeout: int)
| 1085 | raise NotImplementedError |
| 1086 | |
| 1087 | def start_timer(self, timeout: int) -> None: |
| 1088 | """ |
| 1089 | Start a timer to `kill` our subprocess after ``timeout`` seconds. |
| 1090 | """ |
| 1091 | if timeout is not None: |
| 1092 | self._timer = threading.Timer(timeout, self.kill) |
| 1093 | self._timer.start() |
| 1094 | |
| 1095 | def read_proc_stdout(self, num_bytes: int) -> Optional[bytes]: |
| 1096 | """ |
no test coverage detected