Skip to main content

BuiltinRunner

Type Alias BuiltinRunner 

Source
pub type BuiltinRunner = fn(&mut ShellCore<'_>, &str, &[String], &mut dyn Input, &mut dyn Output, &mut dyn Output) -> Option<ExitStatus>;
Expand description

How the core dispatches builtins for one shell language.

The runner returns None when the name is not a builtin of that shell, letting resolution continue to external commands.