|
Public Member Functions |
| | Command (const std::string &cmd) |
| | Command () |
| void | setCommand (const std::string &cmd) |
| void | add (const std::string &arg) |
| | add an argument to the command line
|
| void | add (const std::string &var, const std::string &val) |
| | add an environement variable
|
| bool | execSync (std::string &out, std::string &err) |
| | Execute this Command synchronously.
|
| bool | execASync (int &out, int &err, int &in) |
| | Execute this Command asynchronously.
|
| const boost::filesystem::path & | getWorkingDir () |
| void | setWorkingDir (const boost::filesystem::path &dir) |
| unsigned int | getPid () |
| int | getReturnValue () |
| bool | wait () |
| | Wait for the end of the execution of the command.
|
| void | kill (int signal=9) |
Static Public Member Functions |
| static int | exec (const std::string &cmd, std::string &out, std::string &err) |