Index: base/process/launch_posix.cc |
diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc |
index bc6294b2dad1b22e5c026aaa352ead68c2494916..3322d265785246e8076e8ddd9591701f57db7f5c 100644 |
--- a/base/process/launch_posix.cc |
+++ b/base/process/launch_posix.cc |
@@ -480,6 +480,15 @@ bool LaunchProcess(const CommandLine& cmdline, |
return LaunchProcess(cmdline.argv(), options, process_handle); |
} |
+Process LaunchProcess(const CommandLine& cmdline, |
+ const LaunchOptions& options) { |
+ ProcessHandle process_handle; |
+ if (LaunchProcess(cmdline, options, &process_handle)) |
+ return Process(process_handle); |
+ |
+ return Process(); |
+} |
+ |
void RaiseProcessToHighPriority() { |
// On POSIX, we don't actually do anything here. We could try to nice() or |
// setpriority() or sched_getscheduler, but these all require extra rights. |