Switch to side-by-side view
--- a/src/utils/execmd.cpp +++ b/src/utils/execmd.cpp @@ -102,6 +102,13 @@ { m_env.push_back(ea); } + +void ExecCmd::putenv(const string &name, const string& value) +{ + string ea = name + "=" + value; + putenv(ea); +} + static void msleep(int millis) { struct timespec spec;