1 #include <utl/System.h>
2 #include <utl/ErrorLogger.h>
3 #include <utl/AugerException.h>
10 System(
const char*
const command,
const bool throwOnError,
const bool notify)
13 std::ostringstream info;
14 info <<
"Running command: " << command;
17 const int status = std::system(command);
19 std::ostringstream msg;
20 msg <<
"Nonzero status return from command: " << command;
void System(const char *const command, const bool throwOnError, const bool notify)
#define INFO(message)
Macro for logging informational messages.
#define WARNING(message)
Macro for logging warning messages.
Base class for inconsistency/illogicality exceptions.
#define ERROR(message)
Macro for logging error messages.