Skip to main content

execute_streaming

Function execute_streaming 

Source
pub async fn execute_streaming(
    args: &Value,
    tx: Sender<InferenceEvent>,
) -> Result<String, String>
Expand description

Like execute, but streams each stdout/stderr line to the TUI as a ShellLine event while the command runs, so the operator sees live progress instead of a blank screen until completion.

Falls back to plain execute for background tasks.