pub fn callback_call(
        &self,
        path: Option<&str>,
        global_vars: &GlobalVars,
        runtime_vars: &RuntimeVars,
        handle: &mut CallbackHandle,
    ) -> AppResult<Option<ChildData>> {
        if self.callback.is_some() {
            self.callback
                .as_ref()
                .unwrap()
                .call(path, global_vars, runtime_vars, handle)
        } else {
            Ok(None)
        }
    }
/// Calls the external callback, by providing arguments, environment variables and path which will be searched for the command.
Calls the external callback, by providing arguments, environment variables and path which will be searched for the command.
Calls the external callback by providing arguments environment variables and path which will be searched for the command .
pub fn callback_call(
        &self,
        path: Option<&str>,
        global_vars: &GlobalVars,
        runtime_vars: &RuntimeVars,
        handle: &mut CallbackHandle,
    ) -> AppResult<Option<ChildData>> {
        if self.callback.is_some() {
            self.callback
                .as_ref()
                .unwrap()
                .call(path, global_vars, runtime_vars, handle)
        } else {
            Ok(None)
        }
    }
pub fn callback_call ( & self , path : Option < & str > , global_vars : & GlobalVars , runtime_vars : & RuntimeVars , handle : & mut CallbackHandle , ) -> AppResult < Option < ChildData > > { if self . callback . is_some ( ) { self . callback . as_ref ( ) . unwrap ( ) . call ( path , global_vars , runtime_vars , handle ) } else { Ok ( None ) } }
Calls the external callback, by providing arguments, environment variables and path which will be searched for the command.
Calls the external callback by providing arguments environment variables and path which will be searched for the command .
&self
path
Option<&str>
global_vars
&GlobalVars
runtime_vars
&RuntimeVars
handle
&mut CallbackHandle
&self
path
Option<&str>
global_vars
&GlobalVars
runtime_vars
&RuntimeVars
handle
&mut CallbackHandle