Chromium Code Reviews| Index: net/test/local_test_server_win.cc |
| diff --git a/net/test/local_test_server_win.cc b/net/test/local_test_server_win.cc |
| index 0b3031239a127a847cb80349e13fb24fa2589293..f1fa98bd937dbcd0443f95a3ff54177c28f24778 100644 |
| --- a/net/test/local_test_server_win.cc |
| +++ b/net/test/local_test_server_win.cc |
| @@ -94,6 +94,11 @@ bool LocalTestServer::LaunchPython(const FilePath& testserver_path) { |
| .Append(FILE_PATH_LITERAL("python.exe")); |
| CommandLine python_command(python_exe); |
| + |
| + // Make python stdout and stderr unbuffered, to prevent incomplete stderr on |
|
Paweł Hajdan Jr.
2012/04/17 06:38:05
Do not duplicate this code if possible (and it is)
mattm
2012/04/18 00:20:00
Done.
|
| + // win bots, and also fix mixed up ordering of stdout and stderr. |
| + python_command.AppendSwitch("-u"); |
| + |
| python_command.AppendArgPath(testserver_path); |
| if (!AddCommandLineArguments(&python_command)) |
| return false; |
| @@ -176,4 +181,3 @@ bool LocalTestServer::WaitToStart() { |
| } |
| } // namespace net |
| - |