Skip to main content

run_task_ctx

Function run_task_ctx 

Source
pub fn run_task_ctx(
    command: &TaskCtxCommand,
    env: &BTreeMap<String, String>,
    version: &str,
    (out, err): (&mut impl Write, &mut impl Write),
) -> Result<(), String>
Expand description

Runs a schedr task-ctx command; the error is the message for stderr.

§Errors

As the command’s own (run_task_ctx_*).