# 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/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/plan.go#L452
- **Page:** https://libtmux.org/en/go/latest/reference/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.
