Library for executing bash commands with captured output.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
exec/test/test.cpp

15 lines
175 B

#include <iostream>
#include "../lib/exec.hpp"
using namespace std;
int main() {
string out = exec("bash bash_cmd.sh");
cout << out << endl;
return 0;
}