diff options
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r-- | src/FbCommands.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh index 1f7200d..2007e89 100644 --- a/src/FbCommands.hh +++ b/src/FbCommands.hh | |||
@@ -37,6 +37,10 @@ class ExecuteCmd: public FbTk::Command { | |||
37 | public: | 37 | public: |
38 | ExecuteCmd(const std::string &cmd, int screen_num = -1); | 38 | ExecuteCmd(const std::string &cmd, int screen_num = -1); |
39 | void execute(); | 39 | void execute(); |
40 | /** | ||
41 | * same as execute but returns pid | ||
42 | */ | ||
43 | int run(); | ||
40 | private: | 44 | private: |
41 | std::string m_cmd; | 45 | std::string m_cmd; |
42 | const int m_screen_num; | 46 | const int m_screen_num; |