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

Unified Diff: net/test/spawned_test_server/local_test_server_win.cc

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Fix Created 3 years, 6 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
Index: net/test/spawned_test_server/local_test_server_win.cc
diff --git a/net/test/spawned_test_server/local_test_server_win.cc b/net/test/spawned_test_server/local_test_server_win.cc
index 65d554eba25e021cf2fe74817b78b3d90c86e8f5..47bf96ca48a03f212a9987146419e698ec3ef0f9 100644
--- a/net/test/spawned_test_server/local_test_server_win.cc
+++ b/net/test/spawned_test_server/local_test_server_win.cc
@@ -125,7 +125,7 @@ bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) {
base::IntToString(reinterpret_cast<uintptr_t>(child_write)));
base::LaunchOptions launch_options;
- launch_options.inherit_handles = true;
+ launch_options.inherit_mode = base::LaunchOptions::INHERIT_ALL;
process_ = base::LaunchProcess(python_command, launch_options);
if (!process_.IsValid()) {
LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString();

Powered by Google App Engine
This is Rietveld 408576698