mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
helpers: add "backtick" function for shell-like command
This commit is contained in:
committed by
Jacek Jendrzej
parent
141872565e
commit
f607fe5fbe
@@ -55,6 +55,8 @@ bool get_mem_usage(unsigned long &total, unsigned long &free);
|
||||
void mySleep(int sec);
|
||||
|
||||
std::string find_executable(const char *name);
|
||||
/* basically what "foo=`command`" does in the shell */
|
||||
std::string backtick(std::string command);
|
||||
|
||||
bool hdd_get_standby(const char * fname);
|
||||
void hdd_flush(const char * fname);
|
||||
|
Reference in New Issue
Block a user