1#ifndef ROOT_CORE_UTILS__SHELL_EXEC_H
2#define ROOT_CORE_UTILS__SHELL_EXEC_H
32 void exec (
const std::string& cmd);
41 std::string
exec_read (
const std::string& cmd);
50 std::string
exec_read (
const std::string& cmd,
int&
rc);
57 std::string
quote (
const std::string& name);
std::string exec_read(const std::string &cmd)
effects: execute the given command and return the output returns: the output of the command guarantee...
void exec(const std::string &cmd)
effects: execute the given command guarantee: strong failures: out of memory II failures: system fail...
std::string quote(const std::string &name)
effects: quote the given name to protect it from the shell returns: the quoted name guarantee: strong...
This module defines a variety of assert style macros.