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

Unified Diff: sdk/lib/io/process.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « sdk/lib/io/path_impl.dart ('k') | sdk/lib/io/websocket_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/process.dart
diff --git a/sdk/lib/io/process.dart b/sdk/lib/io/process.dart
index 34e0140a751a5f1585d765cc6a6f5c2a083172b0..4bbb98da5845227077c6f637049a52f0606bd056 100644
--- a/sdk/lib/io/process.dart
+++ b/sdk/lib/io/process.dart
@@ -42,7 +42,7 @@ set exitCode(int status) {
* [Process] is used to start new processes using the static
* [start] and [run] methods.
*/
-abstract class Process {
+abstract class Process extends StreamSink {
/**
* Starts a process running the [executable] with the specified
* [arguments]. Returns a [:Future<Process>:] that completes with a
@@ -102,6 +102,10 @@ abstract class Process {
*/
OutputStream get stdin;
+
+ Stream<List<int>> get stdoutStream;
+ Stream<List<int>> get stderrStream;
+
/**
* Sets an exit handler which gets invoked when the process
* terminates.
« no previous file with comments | « sdk/lib/io/path_impl.dart ('k') | sdk/lib/io/websocket_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698