Function execute

Source
pub unsafe extern "C" fn execute(
    wd: *const c_char,
    args: *mut *mut c_char,
    error_precmd: *const c_char,
    error_cmd: *const c_char,
    context: *mut RofiHelperExecuteContext,
) -> gboolean
Expand description

Executes the comand.

Returns true when successful, false otherwise.

  • wd: The working directory.
  • args: The argments of the command to exec.
  • error_precmd: Prefix to error message command.
  • error_cmd: Error message command.
  • context: The startup notification context, if any.