Skip to main content

CommandHook

Type Alias CommandHook 

Source
pub type CommandHook = Rc<dyn Fn(&str, &Path, bool) -> Option<(i32, Vec<u8>)>>;
Expand description

Runs a command of the shell escape in process (retex’s own makeindex, where no program can be started or retex’s output modes want it): given the command line, the directory it runs in, and whether to only say if it would (dry), its exit status and terminal output, or None to leave the command to the shell.

Aliased Type§

pub struct CommandHook { /* private fields */ }