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. |