Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
execute.hh File Reference

Various functions to run external executables. More...

#include <string>

Go to the source code of this file.

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_line, 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

Definition in file execute.hh.