diff options
author | Christian Pointner <equinox@anytun.org> | 2010-02-16 22:09:15 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2010-02-16 22:09:15 +0000 |
commit | cf2075ec2f89789972058ec96a5d4f1bbb1f0c53 (patch) | |
tree | 85ec4c4c1d27aaf290850b5fa0ce56da808b8b6e /src/sysExec.h | |
parent | fixed build of anytun-controld (diff) |
malloc/free vs new at posix sysexec
Diffstat (limited to 'src/sysExec.h')
-rw-r--r-- | src/sysExec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sysExec.h b/src/sysExec.h index b6efb45..b5400b9 100644 --- a/src/sysExec.h +++ b/src/sysExec.h @@ -44,9 +44,9 @@ class SysExec { public: SysExec(std::string const& script); - SysExec(std::string const& script, StringVector const& args); - SysExec(std::string const& script, StringList const& env); - SysExec(std::string const& script, StringVector const& args, StringList const& env); + SysExec(std::string const& script, StringVector args); + SysExec(std::string const& script, StringList env); + SysExec(std::string const& script, StringVector args, StringList env); ~SysExec(); int waitForScript(); @@ -55,7 +55,7 @@ class SysExec static void waitAndDestroy(SysExec*& s); private: - void doExec(StringVector const& args, StringList const& env); + void doExec(StringVector args, StringList env); std::string script_; bool closed_; |