# tmux.Connection.Call

- **Module:** tmux.Connection
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/connection.go#L336
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-connection-call/

```
tmux.Connection.Call(ctx: context.Context, args: string) -> ([]ControlCommandResult, error)
```

Call executes one safely encoded tmux command on an owned lane and returns every reply frame in order. An alias may produce zero or multiple frames; a %error frame remains result data through [ControlCommandResult.Failed]. Args always describe one command, so a bare semicolon is quoted as an operand rather than interpreted as a command-list separator.
