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

Go API

Go documentation

tmux.Session.RunHook

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

View as Markdown

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
method [source]
method [source]
RunHook

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:)

0 declared, 0 inherited

Esc

Type to search.