summaryrefslogtreecommitdiff
path: root/src/utils/process.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-18 18:09:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-18 18:09:57 +0300
commite36b143b5a6b5dadae90d9095fc60c16695de764 (patch)
tree53baf6fcb0f0b7b1aa51a739615a741797a0f34a /src/utils/process.h
parent962229519bb4b84985515861eb9afefa09dcdda5 (diff)
downloadplus-e36b143b5a6b5dadae90d9095fc60c16695de764.tar.gz
plus-e36b143b5a6b5dadae90d9095fc60c16695de764.tar.bz2
plus-e36b143b5a6b5dadae90d9095fc60c16695de764.tar.xz
plus-e36b143b5a6b5dadae90d9095fc60c16695de764.zip
improve process file.
Diffstat (limited to 'src/utils/process.h')
-rw-r--r--src/utils/process.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/utils/process.h b/src/utils/process.h
index c3de0d175..1652dcce0 100644
--- a/src/utils/process.h
+++ b/src/utils/process.h
@@ -23,11 +23,12 @@
#include <string>
-int execFileWait(std::string pathName, std::string name,
- std::string arg1, std::string arg2, int waitTime = 0);
+int execFileWait(const std::string &pathName, const std::string &name,
+ const std::string &arg1, const std::string &arg2,
+ int waitTime = 0);
-bool execFile(std::string pathName, std::string name,
- std::string arg1, std::string arg2);
+bool execFile(const std::string &pathName, const std::string &name,
+ const std::string &arg1, const std::string &arg2);
bool openBrowser(std::string url);