PUMA Library Reference Manual
|
#include <Puma/PipedCmd.h>
Executes a shell command and gives access to the output of the command.
Public Member Functions | |
PipedCmd () | |
Constructor. | |
int | exec (const char *cmd) |
Execute the given shell command. | |
const std::string & | getOutput () const |
Get the output produced by the executed command. | |
|
inline |
Constructor.
int Puma::PipedCmd::exec | ( | const char * | cmd | ) |
Execute the given shell command.
cmd | The shell command. |
|
inline |
Get the output produced by the executed command.