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

Unified Diff: base/process/launch.h

Issue 2338133005: Add real_path option to LaunchProcess (Closed)
Patch Set: Add real_path option to LaunchProcess Created 4 years, 3 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 | « no previous file | base/process/launch_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/launch.h
diff --git a/base/process/launch.h b/base/process/launch.h
index 20b76fc35e4c1c32764ee04903a18cecd576cd8d..08c273ac5227fbfd178204b17d16832668e3a7df 100644
--- a/base/process/launch.h
+++ b/base/process/launch.h
@@ -68,6 +68,11 @@ struct BASE_EXPORT LaunchOptions {
// If not empty, change to this directory before executing the new process.
base::FilePath current_directory;
+ // If not empty, launch the specified executable instead of
Nico 2016/09/22 17:03:03 Does this ever make sense on non-posix? Do you kno
+ // cmdline.GetProgram(). This is useful when it is necessary to pass a custom
+ // argv[0].
+ base::FilePath real_path;
+
#if defined(OS_WIN)
bool start_hidden = false;
« no previous file with comments | « no previous file | base/process/launch_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698