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

libtmux::ExecutionPolicy

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

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/command.hpp
struct libtmux::ExecutionPolicy
struct [source]
struct [source]
struct libtmux::ExecutionPolicy

What a call waits and holds when the caller did not say.

A timeout on the call is still how a caller says "this one in particular": listing sessions does not share a deadline with attaching a client. What was missing was a floor. Typed methods passed no timeout at all, so window.rename(...) waited for as long as the process ran if tmux never answered — and "tmux is normally fast" is not a liveness guarantee when a hook blocks, a filesystem stops answering, or a connection breaks without closing the pipe.

Thirty seconds is far past every tmux command that works and far short of forever. wait_for opts out, because waiting is the whole request.

3 declared, 0 inherited

Members

  • output_limit attribute Absent leaves the transport's own bound, which is one megabyte.
  • timeout attribute Absent means wait. That is a thing to mean deliberately.
  • tmux_binary attribute
Esc

Type to search.