31#include <boost/process/environment.hpp>
63 void apply(
const std::string& input,
bool expandExisting =
true);
77 static std::string
expand(
const std::string& input);
86 boost::process::environment
env_;
94 static std::tuple<std::string, Operation, std::string>
static std::vector< std::string > splitAssignments(const std::string &input)
static std::string expand(const std::string &input)
Return the expanded form of the comma-separated assignment list without modifying the process environ...
EnvExpander()
Construct an EnvExpander initialized with the current process environment.
static std::tuple< std::string, Operation, std::string > splitOperation(const std::string &assignment)
boost::process::environment env_
void applyOperation(const std::string &name, Operation op, const std::string &val)
static std::string expandVariables(const std::string &value)
void apply(const std::string &input, bool expandExisting=true)
Parse and apply the comma-separated assignment list to the internal environment env_ and to the proce...
This file is part of ArmarX.