Executes commands.

#include <command.h>

Static Public Member Functions

static std::string GetStdoutFromCommand (std::string cmd)
 
static int GetExternalProcessId (std::string name)
 
static int executeCommand (const std::string &cmd)
 
static void GetStdoutFromBackgroundCommand (bg_command_status_handler_function handler, const std::string &binaryFile)
 
static FILE * myPopen (const char *command, const char *type)