# libtmux::CommandBatch

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/batch.hpp#L63
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-commandbatch/

The argv a chain becomes: commands joined by tmux's separator.

An empty command is rejected rather than emitted, because tmux reads two adjacent separators as the next command's first argument.

## Members

- `add` (method): Append one command.
- `size` (method)
- `empty` (method)
- `request` (method): Render the whole batch as one argv.
- `argv` (method)
- `commands` (method)
