diff options
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r-- | base/process_util_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc index 23db2bd..db92ed9 100644 --- a/base/process_util_linux.cc +++ b/base/process_util_linux.cc @@ -40,7 +40,7 @@ bool LaunchApp(const std::vector<std::string>& argv, int pid = fork(); if (pid == 0) { - execv(argv_copy[0], argv_copy); + execvp(argv_copy[0], argv_copy); } else if (pid < 0) { retval = false; } else { |