Skip to main content

run_command_step

Function run_command_step 

Source
pub async fn run_command_step(
    executor: &dyn Executor,
    command: &str,
    work_dir: &Path,
    timeout: Duration,
    env: &HashMap<String, String>,
) -> Result<StepOutput>
Expand description

Run a command step, validating it first against the allowlist.