MCPcopy Create free account
hub / github.com/JusticeRage/FFM / shell_exec_stream

Function shell_exec_stream

model/driver/input_api.py:339–350  ·  view source on GitHub ↗

Executes a command in the shell and streams its output to a callback. :param command: The command to run. :param output_handler: Callback receiving byte chunks from stdout/stderr. :param timeout: The maximum time to wait for the command to finish. :return: The command's exit cod

(command, output_handler, timeout=300)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

executeMethod · 0.85

Calls 4

_new_markerFunction · 0.85
pass_commandFunction · 0.85
_build_exec_commandFunction · 0.85
_stream_outputFunction · 0.85

Tested by

no test coverage detected