stc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
stc::Unix::Environment Struct Reference

#include <Process.hpp>

Public Member Functions

void validate () const
 

Public Attributes

std::map< std::string, std::string > env = {}
 
bool extendEnviron = true
 
std::optional< std::string > workingDirectory = std::nullopt
 

Member Function Documentation

◆ validate()

void stc::Unix::Environment::validate ( ) const
inline

Member Data Documentation

◆ env

std::map<std::string, std::string> stc::Unix::Environment::env = {}

◆ extendEnviron

bool stc::Unix::Environment::extendEnviron = true

Whether or not to start with os.environ. If false, nothing included in os.environ is forwarded.

◆ workingDirectory

std::optional<std::string> stc::Unix::Environment::workingDirectory = std::nullopt

If defined, the spawned process will do a cd just before executing the replacement command. If undefined, the current working directory is automagically used.


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