# tmux.Plan.Run

- **Module:** tmux.Plan
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/plan.go#L452
- **Page:** https://libtmux.org/reference/go/tmux-plan-run/

```
tmux.Plan.Run(ctx: context.Context, server: Server) -> (PlanResult, error)
```

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.
