# libtmux::Connection::execute

- **Module:** libtmux::Connection
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/control.hpp#L242
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-connection-execute/

```
libtmux::Connection::execute(request: ControlRequest, deadline: std::chrono::steady_clock::time_point) -> ControlRequestResult
```

Completes at this request's private protocol boundary and preserves every guarded block before it.

This is wire evidence, not a final command result: tmux may end a block before a waiting job or file operation later reports unguarded output or failure. Use `Server::run` when final success or failure is required.
