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

Unified Diff: runtime/bin/process_impl.dart

Issue 8525002: Provide access to stdin, stdout and stderr (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed issue with Dart not stopping Created 9 years, 1 month 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: runtime/bin/process_impl.dart
diff --git a/runtime/bin/process_impl.dart b/runtime/bin/process_impl.dart
index 4cb462b4fe954c1cd02bd843675f3a3b678639c5..1e121eefc82ec5fa45ac72b1b0948d9f2a862fc2 100644
--- a/runtime/bin/process_impl.dart
+++ b/runtime/bin/process_impl.dart
@@ -29,9 +29,9 @@ class _Process implements Process {
_arguments[i] = arguments[i];
}
- _in = new _Socket._internalOutputOnly();
- _out = new _Socket._internalInputOnly();
- _err = new _Socket._internalOutputOnly();
+ _in = new _Socket._internalReadOnly(); // stdout coming from process.
+ _out = new _Socket._internalWriteOnly(); // stdin going to process.
+ _err = new _Socket._internalReadOnly(); // stderr coming from process.
_exitHandler = new _Socket._internal();
_closed = false;
_killed = false;

Powered by Google App Engine
This is Rietveld 408576698