Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

GlobalSessionScope.RunHook

RunHook asks tmux to run one global hook directly. It intentionally performs no racy target preflight; stale targets and global execution context remain tmux-defined. Completed failures are secret-safe option errors; cancellation does not prove hook delivery or execution did not occur.

Source and package
Qualified name
tmux.GlobalSessionScope.RunHook
Package
tmux
Declared in
GlobalSessionScope
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/hook_runtime.go
Parameters
Esc

Type to search.

Reference previewOpen reference