#ifndef TOOLS_H #define TOOLS_H #include #include #include using namespace std; const vector explode(const string& s, const char& c, int n); FILE * popen2(char * const argv, string type, int & pid); int pclose2(FILE * fp, pid_t pid); #endif // TOOLS_H