Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-cxx latest

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.Language documentation]] 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.

Esc

Type to search.

Reference previewOpen reference