23 #include "softwarecontainer-common.h" 31 typedef std::function<int ()> ExecFunction;
36 virtual bool execute(ExecFunction
function,
38 const EnvironmentVariables &variables = EnvironmentVariables(),
46 virtual bool execute(
const std::string &commandLine,
48 const EnvironmentVariables &variables = EnvironmentVariables(),
49 const std::string &workingDirectory =
"/",
virtual bool execute(ExecFunction function, pid_t *pid, const EnvironmentVariables &variables=EnvironmentVariables(), int stdin=-1, int stdout=-1, int stderr=2)=0
Executes a commandline.
Developers guide to adding a config item: