MCPcopy Create free account
hub / github.com/pyinvoke/invoke / _write_proc_stdin

Method _write_proc_stdin

invoke/runners.py:1119–1132  ·  view source on GitHub ↗

Write ``data`` to running process' stdin. This should never be called directly; it's for subclasses to implement. See `write_proc_stdin` for the public API call. :param data: Already-encoded byte data suitable for writing. :returns: ``None``. .. v

(self, data: bytes)

Source from the content-addressed store, hash-verified

1117 raise NotImplementedError
1118
1119 def _write_proc_stdin(self, data: bytes) -> None:
1120 """
1121 Write ``data`` to running process' stdin.
1122
1123 This should never be called directly; it's for subclasses to implement.
1124 See `write_proc_stdin` for the public API call.
1125
1126 :param data: Already-encoded byte data suitable for writing.
1127
1128 :returns: ``None``.
1129
1130 .. versionadded:: 1.0
1131 """
1132 raise NotImplementedError
1133
1134 def close_proc_stdin(self) -> None:
1135 """

Callers 1

write_proc_stdinMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected