Loading...
Searching...
No Matches
ExternalCommand.h File Reference
#include <cstdlib>
#include <stdexcept>
#include <string>
#include <sys/wait.h>

Go to the source code of this file.

Namespaces

namespace  eonc
 RAII resource manager for the ARTn C library with global synchronization.
namespace  eonc::pot

Functions

std::string eonc::pot::commandFailure (int status)
 Describe how a command run through system() ended.
void eonc::pot::runOrThrow (const std::string &command)
 Run a shell command, throwing when it does not succeed.