summaryrefslogtreecommitdiffstats
path: root/net/test/test_server_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/test/test_server_win.cc')
-rw-r--r--net/test/test_server_win.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/test/test_server_win.cc b/net/test/test_server_win.cc
index 9fc13cd..96c899e 100644
--- a/net/test/test_server_win.cc
+++ b/net/test/test_server_win.cc
@@ -176,8 +176,7 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) {
// safe to truncate the handle (when passing it from 64-bit to
// 32-bit) or sign-extend the handle (when passing it from 32-bit to
// 64-bit)."
- python_command.AppendSwitchASCII(
- "startup-pipe",
+ python_command.AppendArg("--startup-pipe=" +
base::IntToString(reinterpret_cast<uintptr_t>(child_write)));
if (!LaunchTestServerAsJob(python_command,