|
typedef std::function< int()> | ExecFunction |
|
|
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. More...
|
|
virtual bool | execute (const std::string &commandLine, pid_t *pid, const EnvironmentVariables &variables=EnvironmentVariables(), const std::string &workingDirectory="/", int stdin=-1, int stdout=1, int stderr=2)=0 |
| Executes a function. More...
|
|
Definition at line 27 of file executable.h.
virtual bool softwarecontainer::Executable::execute |
( |
ExecFunction |
function, |
|
|
pid_t * |
pid, |
|
|
const EnvironmentVariables & |
variables = EnvironmentVariables() , |
|
|
int |
stdin = -1 , |
|
|
int |
stdout = -1 , |
|
|
int |
stderr = 2 |
|
) |
| |
|
pure virtual |
virtual bool softwarecontainer::Executable::execute |
( |
const std::string & |
commandLine, |
|
|
pid_t * |
pid, |
|
|
const EnvironmentVariables & |
variables = EnvironmentVariables() , |
|
|
const std::string & |
workingDirectory = "/" , |
|
|
int |
stdin = -1 , |
|
|
int |
stdout = 1 , |
|
|
int |
stderr = 2 |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: