current_environment
Build and edit a NAME=VALUE block for a child process.
Source and package
- Qualified name
-
libtmux::test:: current _environment - Namespace
- libtmux::test
- Package
- libtmux-cxx
- Source
- include/libtmux/testing/scoped_server.hpp
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] std::vector <std::string > current_environment(); -
Description#
current_environment()copies this process's;set_environment()replaces any existing entry rather than appending;erase_environment()removes every entry for the name.