15 lines
361 B
15 lines
361 B
#ifndef _SYSTEMCALL_H_
|
|
#define _SYSTEMCALL_H_
|
|
|
|
#include <cstdio>
|
|
#include <iostream>
|
|
#include <memory>
|
|
#include <stdexcept>
|
|
#include <string>
|
|
#include <array>
|
|
|
|
// Ide from : https://stackoverflow.com/questions/478898/how-do-i-execute-a-command-and-get-the-output-of-the-command-within-c-using-po
|
|
std::string execBash(const char* cmd);
|
|
|
|
#endif // _SYSTEMCALL_H_
|