mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
processInterface.hpp File Reference

Process interface facilities. More...

Process interface facilities.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file processInterface.hpp.

Go to the source code of this file.

Namespaces

 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. More...
 
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. More...