add tests

This commit is contained in:
Timofey Turenko
2017-05-17 18:16:06 +03:00
committed by Markus Mäkelä
parent dbfd631fed
commit 8c6ca38a8a
594 changed files with 48376 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#ifndef EXECUTE_CMD_H
#define EXECUTE_CMD_H
#include <iostream>
#include <unistd.h>
using namespace std;
/**
* @brief execute_cmd Execute shell command
* @param cmd Command line
* @param res Pointer to variable that will contain command console output (stdout)
* @return Process exit code
*/
int execute_cmd(char * cmd, char ** res);
#endif // EXECUTE_CMD_H