Run a command get the output. More...
#include "runCommand.hpp"
#include <cstring>
#include <sstream>
#include <unistd.h>
#include <sys/wait.h>
#include <iostream>
Go to the source code of this file.
Namespaces | |
MagAOX | |
MagAOX::sys | |
Functions | |
int | MagAOX::sys::runCommand (std::vector< std::string > &commandOutput, std::vector< std::string > &commandStderr, std::vector< std::string > &commandList) |
Runs a command (with parameters) passed in using fork/exec. More... | |
Run a command get the output.
Definition in file runCommand.cpp.