Skip to main content

run

Function run 

Source
async fn run(
    state: &AppState,
    caller: Option<&Caller>,
    block_id: &str,
    auth: &UiAutomationAuth,
    agent: &str,
    cmd: &str,
    cwd: Option<&str>,
    secrets: HashMap<String, String>,
    reason: &str,
) -> Result<Ran, RunError>
Expand description

Runs cmd as Terminal run would with secrets, approved with the rotation, and waits for it to end.