summaryrefslogtreecommitdiff
path: root/src/FbCommands.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r--src/FbCommands.hh4
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 {
37public: 37public:
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();
40private: 44private:
41 std::string m_cmd; 45 std::string m_cmd;
42 const int m_screen_num; 46 const int m_screen_num;