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

tmux.Plan.Run

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
Plan
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/plan.go
Run ( ctx : context.Context , server : Server ) → (PlanResult, error)
method [source]
method [source]
Run

Run sends the recorded operations through server and returns one result per step.

Operations that need no answer travel together in one tmux command list; Plan.Explain reports the grouping. Run stops at the first failed or indeterminate dispatch; later operations are OpSkipped .

Tmux refusals appear in results. Transport, context, and PlanError failures are returned. Run is not atomic; completed mutations remain after failure.

Discussed in Control mode vs one-shot

0 declared, 0 inherited

Esc

Type to search.