(self, input)
| 2202 | |
| 2203 | |
| 2204 | def _save_input(self, input): |
| 2205 | # This method is called from the _communicate_with_*() methods |
| 2206 | # so that if we time out while communicating, we can continue |
| 2207 | # sending input if we retry. |
| 2208 | if self.stdin and self._input is None: |
| 2209 | self._input_offset = 0 |
| 2210 | self._input = input |
| 2211 | if input is not None and self.text_mode: |
| 2212 | self._input = self._input.encode(self.stdin.encoding, |
| 2213 | self.stdin.errors) |
| 2214 | |
| 2215 | |
| 2216 | def send_signal(self, sig): |