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

14 lines
189 B

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