21#ifndef G_EXECUTABLE_COMMAND_H
22#define G_EXECUTABLE_COMMAND_H
31 class ExecutableCommand ;
59 void add(
const std::string & arg ) ;
66 bool osNativelyRunnable()
const ;
A structure representing an external program, holding a path and a set of arguments.
ExecutableCommand(const std::string &command_line=std::string())
Constructor taking a complete command-line.
void add(const std::string &arg)
Adds a command-line argument.
StringArray args() const
Returns the command-line arguments.
std::string displayString() const
Returns a printable representation for logging and diagnostics.
Path exe() const
Returns the executable.
A Path object represents a file system path.
std::vector< std::string > StringArray
A std::vector of std::strings.