70 static pid_t
Execute(
const std::string & commandString);
76 static pid_t
Execute(
const std::string & command,
char *
const argv[]);
85 static bool FillArgs(
const std::string & commandStr,
char * & command,
87 static pid_t ExecVP(
const std::string & command,
char *
const argv[]);
89 static std::mutex _mutex;
Provides a simple interface to fork() + execvp().
Definition DwmExecutor.hh:51
static const int k_WHITESPACE
Constant for the lexer.
Definition DwmExecutor.hh:64
static pid_t Execute(const std::string &command, char *const argv[])
Executes the given command with arguments argv.
static pid_t Execute(const std::string &commandString)
Executes the given commandString, which may contain arguments.
static const int k_ARGUMENT
Constant for the lexer.
Definition DwmExecutor.hh:60
static pid_t Execute(char *const argv[])
Executes the command with arguments that are combined in argv.
static const int k_COMMAND
Constant for the lexer.
Definition DwmExecutor.hh:56