MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _save_input

Method _save_input

tools/python-3.11.9-amd64/Lib/subprocess.py:2164–2173  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

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):

Callers 1

_communicateMethod · 0.95

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected