# LibTmux::Configuration::Hooks.run

- **Module:** LibTmux::Configuration
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Configuration.rakumod#L510
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-configuration-hooks-run/

```
method run(Str:D $name --> Result:D)
```

Queue a hook now. Acknowledgement does not prove its commands' effects.

Queue a hook now. Acknowledgement does not prove its commands' effects.

## Parameters

- `$name` (`Str:D`)

## tmux command

The tmux commands behind `run`.

- [`set-hook`](/en/tmux/latest/manual/set-hook/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_set_hook_entry`](/en/tmux/latest/reference/c-variable-cmd_set_hook_entry/) (attribute)
- [`cmd_set_option_exec`](/en/tmux/latest/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function)
