# libtmux::test::ScopedTmuxServer

- **Module:** libtmux::test
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/testing/scoped_server.hpp#L102
- **Page:** https://libtmux.org/reference/cxx/libtmux-test-scopedtmuxserver/

## Members

- `start` (method)
- `~ScopedTmuxServer` (method)
- `ScopedTmuxServer` (method)
- `socket_mode` (method)
- `socket_name` (method)
- `socket_path` (method)
- `tmux_tmpdir` (method)
- `session_name` (method)
- `socket_namespace` (method)
- `server_pid` (method)
- `command_prefix` (method)
- `is_alive` (method)
- `child_environment` (method) — `NAME=VALUE` entries for a child that should reach this server and not the surrounding one: `TMUX_TMPDIR` inside the private tree, `TMUX` and `TMUX_PANE` absent.
