RTEMS Linker
0.0.1
RTEMS Tools Project
|
Classes | |
class | temporary_files |
class | tempfile |
struct | status |
Typedefs | |
typedef std::vector< std::string > | arg_container |
Functions | |
status | execute (const std::string &pname, const std::string &command, const std::string &outname, const std::string &errname) |
status | execute (const std::string &pname, const arg_container &args, const std::string &outname, const std::string &errname) |
void | parse_command_line (const std::string &command, arg_container &args) |
typedef std::vector< std::string > rld::process::arg_container |
The arguments containter has a single argument per element.
status rld::process::execute | ( | const std::string & | pname, |
const std::string & | command, | ||
const std::string & | outname, | ||
const std::string & | errname | ||
) |
Execute a process and capture stdout and stderr given a command line string. Return an error code.
status rld::process::execute | ( | const std::string & | pname, |
const arg_container & | args, | ||
const std::string & | outname, | ||
const std::string & | errname | ||
) |
Execute a process and capture stdout and stderr. The first element is the program name to run. Return an error code.
void rld::process::parse_command_line | ( | const std::string & | command, |
arg_container & | args | ||
) |
Parse a command line into arguments. It support quoting.