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

Unified Diff: runtime/bin/process_win.cc

Issue 10697066: IO: Fix error in Process exit handling. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « runtime/bin/process_macos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_win.cc
diff --git a/runtime/bin/process_win.cc b/runtime/bin/process_win.cc
index 8898b730978c119d7d9724bc0bcc26808427d83f..f1081d57e56c90d605df9cd0cbbfad36d660ee73 100644
--- a/runtime/bin/process_win.cc
+++ b/runtime/bin/process_win.cc
@@ -391,7 +391,7 @@ int Process::Start(const char* path,
startup_info.hStdInput = stdin_handles[kReadHandle];
startup_info.hStdOutput = stdout_handles[kWriteHandle];
startup_info.hStdError = stderr_handles[kWriteHandle];
- startup_info.dwFlags |= STARTF_USESTDHANDLES;
+ startup_info.dwFlags = STARTF_USESTDHANDLES;
PROCESS_INFORMATION process_info;
ZeroMemory(&process_info, sizeof(process_info));
@@ -521,4 +521,3 @@ bool Process::Kill(intptr_t id, int signal) {
void Process::TerminateExitCodeHandler() {
// Nothing needs to be done on Windows.
}
-
« no previous file with comments | « runtime/bin/process_macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698