Skip to main content

Module executor

Module executor 

Source
Available on crate feature std only.
Expand description

Low-level Tokio child-process execution with ASIMOV executable lookup.

Executor configures a command without starting it. Call Executor::execute for a complete spawn-and-wait cycle, or use Executor::spawn and Executor::wait to interact with the child between those steps. execute and wait buffer captured output until the child exits; spawn returns the live child handle without collecting its output. Executor::execute_jsonl and Executor::execute_jsonl_with_input instead return live batch streams with concurrent input/output handling.

Structsยง

Executor
A configured command that reports process failures as ExecutorError.