Die: set the exit code and EOF stdout, as the kernel does.
(self, code: int = 0)
| 171 | self._stdout_send.close() |
| 172 | |
| 173 | def exit(self, code: int = 0) -> None: |
| 174 | """Die: set the exit code and EOF stdout, as the kernel does.""" |
| 175 | self.returncode = code |
| 176 | self.close_stdout() |
| 177 | |
| 178 | def pending_stdout_chunks(self) -> int: |
| 179 | """How many fed chunks the client has not yet pulled off the fake stdout.""" |
no test coverage detected