Index: base/process_util_linux.cc |
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc |
index f8e8a04765f1d8a5541c671362f6379aad00bd1b..2936a85f7daf5ecb76cd3b86be743aa24c32b646 100644 |
--- a/base/process_util_linux.cc |
+++ b/base/process_util_linux.cc |
@@ -12,6 +12,7 @@ |
#include <sys/types.h> |
#include <sys/wait.h> |
+#include "base/eintr_wrappers.h" |
#include "base/file_util.h" |
#include "base/logging.h" |
#include "base/string_tokenizer.h" |
@@ -55,7 +56,7 @@ bool LaunchApp(const std::vector<std::string>& argv, |
exit(127); |
} else { |
if (wait) |
- waitpid(pid, 0, 0); |
+ HANDLE_EINTR(waitpid(pid, 0, 0)); |
if (process_handle) |
*process_handle = pid; |