ATLAS Offline Software
Namespaces | Functions
ShellExec.cxx File Reference
#include <RootCoreUtils/ShellExec.h>
#include <cstdio>
#include <vector>
#include <TSystem.h>
#include <RootCoreUtils/ThrowMsg.h>
Include dependency graph for ShellExec.cxx:

Go to the source code of this file.

Namespaces

 RCU
 This module defines a variety of assert style macros.
 
 RCU::Shell
 

Functions

void RCU::Shell::exec (const std::string &cmd)
 effects: execute the given command guarantee: strong failures: out of memory II failures: system failure failures: command failure More...
 
std::string RCU::Shell::exec_read (const std::string &cmd)
 effects: execute the given command and return the output returns: the output of the command guarantee: strong failures: out of memory III failures: system failure failures: command failure More...
 
std::string RCU::Shell::exec_read (const std::string &cmd, int &rc)
 effects: execute the given command and return the output returns: the output of the command guarantee: strong failures: out of memory III failures: system failure failures: command failure More...
 
std::string RCU::Shell::quote (const std::string &name)
 effects: quote the given name to protect it from the shell returns: the quoted name guarantee: strong failures: out of memory II More...