tmux.Session.RunHook
- Module
- tmux
- Declared in
- Session
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/hook_runtime.go
- Other languages
- Python Ruby Lua TypeScript Rust Java .NET C++ Swift
- RunHook ( ctx : context.Context , name : string ) error
-
RunHook asks tmux to run one session hook directly at this stable target. It intentionally performs no racy liveness preflight after validation. Completed failures are secret-safe option errors; cancellation does not prove execution did not occur.
In other ports Run a session hook's commands now
- Python
libtmux.Session.run_hook - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Session - Rust no equivalent on
Session - Java no equivalent on
Session - .NET no equivalent on
Session - C++ no equivalent on
Session - Swift
Server.runHook(_:in:)
- Python
0 declared, 0 inherited