aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-02-12 08:03:47 (GMT)
committerfluxgen <fluxgen>2006-02-12 08:03:47 (GMT)
commit6eae743582c8fb4d95895f82ed809762b32898c5 (patch)
tree07bcb0554a0a0b7ad29b2e011d61e853054dd7eb /src/FbCommands.hh
parent3ceb311a322081cd17b449df373d366dde2fad47 (diff)
downloadfluxbox_pavel-6eae743582c8fb4d95895f82ed809762b32898c5.zip
fluxbox_pavel-6eae743582c8fb4d95895f82ed809762b32898c5.tar.bz2
added run() for ExecuteCmd, which returns pid of the child process
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;