External command piping utility. More...
#include <include/CepGen/Utils/Caller.h>
Public Member Functions | |
Caller () | |
~Caller () | |
std::string | output () const |
Retrieve the (potential) output from the command. | |
std::string | error () const |
Retrieve the (potential) error stream from the command. | |
Static Public Member Functions | |
static std::string | call (const std::vector< std::string > &commands) |
Start a logged call command. | |
static std::string | call (const std::string &command) |
Start a logged call command. | |
Caller | ( | ) |
~Caller | ( | ) |
|
static |
[in] | command | Command path for the session |
|
static |
[in] | commands | Command path for the session |
std::string error | ( | ) | const |
std::string output | ( | ) | const |