Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
subprocess::environment Struct Reference

#include <subprocess.hpp>

Public Member Functions

 environment (env_map_t &&env)
 
 environment (const env_map_t &env)
 

Public Attributes

env_map_t env_
 

Detailed Description

Option to specify environment variables required by the spawned process.

Eg: environment{{ {"K1", "V1"}, {"K2", "V2"},... }}

Definition at line 747 of file subprocess.hpp.

Constructor & Destructor Documentation

◆ environment() [1/2]

subprocess::environment::environment ( env_map_t &&  env)
inline

Definition at line 749 of file subprocess.hpp.

◆ environment() [2/2]

subprocess::environment::environment ( const env_map_t env)
inlineexplicit

Definition at line 751 of file subprocess.hpp.

Member Data Documentation

◆ env_

env_map_t subprocess::environment::env_

Definition at line 753 of file subprocess.hpp.


The documentation for this struct was generated from the following file: