# libtmux::test::ScopedTmuxServer::child_environment

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

```
libtmux::test::ScopedTmuxServer::child_environment() -> std::vector< std::string >
```

`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.
