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
10#include <string>
11
12namespace RCU
13{
14 namespace Shell
15 {
21 void exec (const std::string& cmd);
22
23
30 std::string exec_read (const std::string& cmd);
31
32
39 std::string exec_read (const std::string& cmd, int& rc);
40
41
46 std::string quote (const std::string& name);
47 }
48}
49
50#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:35
void exec(const std::string &cmd)
effects: execute the given command guarantee: strong failures: out of memory II failures: system fail...
Definition ShellExec.cxx:27
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:65
This module defines a variety of assert style macros.
Definition Assert.cxx:23