# 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/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/connection.go#L325
- **Page:** https://libtmux.org/reference/go/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.
