(self, input)
| 2162 | |
| 2163 | |
| 2164 | def _save_input(self, input): |
| 2165 | # This method is called from the _communicate_with_*() methods |
| 2166 | # so that if we time out while communicating, we can continue |
| 2167 | # sending input if we retry. |
| 2168 | if self.stdin and self._input is None: |
| 2169 | self._input_offset = 0 |
| 2170 | self._input = input |
| 2171 | if input is not None and self.text_mode: |
| 2172 | self._input = self._input.encode(self.stdin.encoding, |
| 2173 | self.stdin.errors) |
| 2174 | |
| 2175 | |
| 2176 | def send_signal(self, sig): |