helpers: add function to execute control scripts

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7882ee4805
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-26 (Sat, 26 Jan 2019)

Origin message was:
------------------
- helpers: add function to execute control scripts

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-01-26 17:05:44 +01:00
parent acf37aec31
commit 3216bdcce3
2 changed files with 15 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ bool get_mem_usage(unsigned long &total, unsigned long &free);
int mySleep(int sec);
std::string find_executable(const char *name);
bool exec_controlscript(std::string script);
/* basically what "foo=`command`" does in the shell */
std::string backtick(std::string command);