diff options
Diffstat (limited to 'raul/Process.hpp')
-rw-r--r-- | raul/Process.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/raul/Process.hpp b/raul/Process.hpp index 2f5e286..8827a9e 100644 --- a/raul/Process.hpp +++ b/raul/Process.hpp @@ -40,8 +40,7 @@ public: * * @param command can be a typical shell command with parameters, the PATH is searched etc. */ - static bool launch(std::string command) - { + static bool launch(const std::string& command) { const std::string executable = (command.find(" ") != std::string::npos) ? command.substr(0, command.find(" ")) : command; |