MCPcopy Create free account
hub / github.com/arun11299/cpp-subprocess / environment

Class environment

cpp-subprocess/subprocess.hpp:879–886  ·  view source on GitHub ↗

! * Option to specify environment variables required by * the spawned process. * * Eg: environment{{ {"K1", "V1"}, {"K2", "V2"},... }} */

Source from the content-addressed store, hash-verified

877 * Eg: environment{{ {"K1", "V1"}, {"K2", "V2"},... }}
878 */
879struct environment
880{
881 environment(env_map_t&& env):
882 env_(std::move(env)) {}
883 explicit environment(const env_map_t& env):
884 env_(env) {}
885 env_map_t env_;
886};
887
888
889/*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected