9 #ifndef _STRUS_BASE_EXEC_HPP_INCLUDED
10 #define _STRUS_BASE_EXEC_HPP_INCLUDED
22 int execv_tostring(
const char* filename,
const char*
const argv[], std::string& output);
30 int execve_tostring(
const char* filename,
const char*
const argv[],
const std::map<std::string,std::string>& env, std::string& output);
int execv_tostring(const char *filename, const char *const argv[], std::string &output)
Execution of a command appending the output to a string.
int execve_tostring(const char *filename, const char *const argv[], const std::map< std::string, std::string > &env, std::string &output)
Execution of a command with some environment variables set, appending the output to a string...