ATLAS Offline Software
Loading...
Searching...
No Matches
ShellExec.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef ROOT_CORE_UTILS__SHELL_EXEC_H
8#define ROOT_CORE_UTILS__SHELL_EXEC_H
9
11
12#include <string>
13
14namespace RCU
15{
16 namespace Shell
17 {
23 void exec (const std::string& cmd);
24
25
32 std::string exec_read (const std::string& cmd);
33
34
41 std::string exec_read (const std::string& cmd, int& rc);
42
43
48 std::string quote (const std::string& name);
49 }
50}
51
52#endif
static Double_t rc
std::string exec_read(const std::string &cmd)
effects: execute the given command and return the output returns: the output of the command guarantee...
Definition ShellExec.cxx:34
void exec(const std::string &cmd)
effects: execute the given command guarantee: strong failures: out of memory II failures: system fail...
Definition ShellExec.cxx:26
std::string quote(const std::string &name)
effects: quote the given name to protect it from the shell returns: the quoted name guarantee: strong...
Definition ShellExec.cxx:72
This module defines a variety of assert style macros.
Definition Assert.cxx:23