cepgen is hosted by Hepforge, IPPP Durham
CepGen N/A
Central exclusive processes event generator

External command piping utility. More...

#include <include/CepGen/Utils/Caller.h>

Public Member Functions

 Caller ()
 
 ~Caller ()
 
std::string output () const
 Retrieve the (potential) output from the command.
 
std::string error () const
 Retrieve the (potential) error stream from the command.
 

Static Public Member Functions

static std::string call (const std::vector< std::string > &commands)
 Start a logged call command.
 
static std::string call (const std::string &command)
 Start a logged call command.
 

Detailed Description

Definition at line 29 of file Caller.h.

Constructor & Destructor Documentation

◆ Caller()

Caller ( )

◆ ~Caller()

~Caller ( )

Member Function Documentation

◆ call() [1/2]

static std::string call ( const std::string & command)
static
Parameters
[in]commandCommand path for the session

◆ call() [2/2]

static std::string call ( const std::vector< std::string > & commands)
static
Parameters
[in]commandsCommand path for the session

◆ error()

std::string error ( ) const

◆ output()

std::string output ( ) const