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

Method handle_stderr

invoke/runners.py:797–810  ·  view source on GitHub ↗

Read process' stderr, storing into a buffer & printing/parsing. Identical to `handle_stdout` except for the stream read from; see its docstring for API details. .. versionadded:: 1.0

(
        self, buffer_: List[str], hide: bool, output: IO
    )

Source from the content-addressed store, hash-verified

795 )
796
797 def handle_stderr(
798 self, buffer_: List[str], hide: bool, output: IO
799 ) -> None:
800 """
801 Read process' stderr, storing into a buffer & printing/parsing.
802
803 Identical to `handle_stdout` except for the stream read from; see its
804 docstring for API details.
805
806 .. versionadded:: 1.0
807 """
808 self._handle_output(
809 buffer_, hide, output, reader=self.read_proc_stderr
810 )
811
812 def read_our_stdin(self, input_: IO) -> Optional[str]:
813 """

Callers

nothing calls this directly

Calls 1

_handle_outputMethod · 0.95

Tested by

no test coverage detected