- Added new 'execute' function that provides input and captures output.
This commit is contained in:
Paul Beckingham 2014-08-30 23:31:23 -04:00
parent 273d9fe070
commit 07b7fe4541
2 changed files with 67 additions and 0 deletions

View file

@ -53,6 +53,7 @@ void uuid_unparse_lower (uuid_t uu, char *out);
const std::string uuid ();
int execute (const std::string&, const std::vector <std::string>&);
int execute (const std::string&, const std::vector <std::string>&, const std::string&, std::string&);
#ifdef SOLARIS
#define LOCK_SH 1