# io.github.libtmux.Hooks.Hooks.run

- **Module:** io.github.libtmux.Hooks.Hooks
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Hooks.java#L80
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-hooks-hooks-run/

```
io.github.libtmux.Hooks.Hooks.run(event: String) -> void
```

Runs what is bound to an event now, without waiting for the event.

<p>tmux spells this {@code set-hook -R}, which reads as setting something. It runs the hook
and binds nothing.
