Function nu_plugin_engine::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].