Skip to main content

run_command_in

Function run_command_in 

Source
async fn run_command_in(
    args: &str,
    runtime: &PlanRuntime,
    plan_id: &str,
    dir: &Path,
    inline: usize,
) -> Result<String>
Expand description

Run a shell command with stdout and stderr copied to files, so Executor holds almost none of its output in memory. Short output is read back inline; long output stays on disk and is described for searching.

浙ICP备2023005800号-2 浙公网安备33010902005384号