Skip to main content

run_with

Function run_with 

Source
pub fn run_with(
    wire: Wire,
    modules: &[Arc<dyn HookModule>],
    options: &DispatchOptions,
    input: impl Read,
    output: impl Write,
    errors: impl Write,
) -> i32
Expand description

The whole hook process over arbitrary streams. Returns the exit code: 0 on every failure.