Rosetta
Classes | Namespaces | Functions
execute.hh File Reference

Various functions to run external executables. More...

#include <string>
#include <vector>

Classes

struct  basic::ExecutionResult
 Struct that hold result code + output of external process. More...
 

Namespaces

 basic
 Tags used to tag messeges sent by MPI functions used to decide whether a slave is requesting a new job id or flagging as job as being a bad input.
 

Functions

ExecutionResult basic::execute (std::string const &message, std::string const &command, std::vector< std::string > const &args, bool terminate_on_failure=true, bool silent=false)
 excute provided command_line though shell and return exit_code and output More...
 

Detailed Description

Various functions to run external executables.

Author
Sergey Lyskov

Note: this code is placed in to 'basic' level instead of utility because we want to have access to Tracers so verbosity of all external calls could be controlled