Skip to main content

ExecInvoker

Type Alias ExecInvoker 

Source
pub type ExecInvoker = Arc<dyn Fn(String, Option<f64>) -> BoxFuture<'static, Result<Map<String, Value>>> + Send + Sync>;
Expand description

Runs a shell command, with an optional timeout in milliseconds, and returns its exit code and output: { code, stdout, stderr }.

Aliased Typeยง

pub struct ExecInvoker { /* private fields */ }