|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Process interface facilities. More...
Process interface facilities.
Definition in file processInterface.cpp.
#include "ipc/processInterface.hpp"#include "mxError.hpp"#include <cstring>#include <sstream>#include <cstdio>#include <iostream>#include <unistd.h>#include <sys/wait.h>Go to the source code of this file.
Namespaces | |
| namespace | mx |
| The mxlib c++ namespace. | |
Functions | |
| int | mx::ipc::command_response (const char *cmd, char *resp, size_t respsz) |
| Run a process and copy the output to a string. | |
| int | mx::ipc::runCommand (int &retVal, std::vector< std::string > &commandOutput, std::vector< std::string > &commandStderr, const std::vector< std::string > &commandList) |
| Runs a command (with parameters) passed in using fork/exec. | |