Raise a child process error.
(self)
| 265 | self._remaining_uses -= 1 |
| 266 | |
| 267 | def _child_process_error(self): |
| 268 | """Raise a child process error.""" |
| 269 | # kill and lazily restart the process in the next send. |
| 270 | self.kill() |
| 271 | return ChildProcessError("Subprocess terminated") |
| 272 | |
| 273 | def recv(self): |
| 274 | """Receive the result of the last send. |