Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1773)

Unified Diff: base/process/launch_posix.cc

Issue 827493004: Add the new version for the POSIX-specific version of LaunchProcess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process/launch.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « base/process/launch.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698