pub type ExecCallback<'a> = &'a dyn Fn(&str) -> Result<CommandResult, RustBashError>;Expand description
Callback type for sub-command execution (e.g. xargs, find -exec).
pub type ExecCallback<'a> = &'a dyn Fn(&str) -> Result<CommandResult, RustBashError>;Callback type for sub-command execution (e.g. xargs, find -exec).