(self, input)
| 2343 | |
| 2344 | |
| 2345 | def _save_input(self, input): |
| 2346 | # This method is called from the _communicate_with_*() methods |
| 2347 | # so that if we time out while communicating, we can continue |
| 2348 | # sending input if we retry. |
| 2349 | if self.stdin and self._input is None: |
| 2350 | self._input_offset = 0 |
| 2351 | self._input = input |
| 2352 | if input is not None and self.text_mode: |
| 2353 | self._input = self._input.encode(self.stdin.encoding, |
| 2354 | self.stdin.errors) |
| 2355 | |
| 2356 | |
| 2357 | def send_signal(self, sig): |