nu_plugin_engine

Function create_command

Source
pub fn create_command(
    path: &Path,
    shell: Option<&Path>,
    mode: &CommunicationMode,
) -> Command
Expand description

Spawn the command for a plugin, in the given mode. After spawning, it can be passed to make_plugin_interface() to get a [PluginInterface].