Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.GlobalSessionScope.RunHook

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
GlobalSessionScope
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/hook_runtime.go
RunHook ( ctx : context.Context , name : string ) → error
method [source]
method [source]
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.

0 declared, 0 inherited

Esc

Type to search.