Index: base/process/launch_posix.cc |
diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc |
index 3322d265785246e8076e8ddd9591701f57db7f5c..c60cfdc9fc430a181f09d904a20b99b70dbe4740 100644 |
--- a/base/process/launch_posix.cc |
+++ b/base/process/launch_posix.cc |
@@ -473,6 +473,15 @@ bool LaunchProcess(const std::vector<std::string>& argv, |
return true; |
} |
+Process LaunchProcess(const std::vector<std::string>& argv, |
+ const LaunchOptions& options) { |
+ ProcessHandle process_handle; |
+ if (LaunchProcess(argv, options, &process_handle)) |
+ return Process(process_handle); |
+ |
+ return Process(); |
+} |
+ |
bool LaunchProcess(const CommandLine& cmdline, |
const LaunchOptions& options, |