From e36b143b5a6b5dadae90d9095fc60c16695de764 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Apr 2013 18:09:57 +0300 Subject: improve process file. --- src/utils/process.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/utils/process.h') 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 -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); -- cgit v1.2.3-60-g2f50