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

Unified Diff: lib/compiler/implementation/lib/io.dart

Issue 11091070: Change Process.start to return a future that completes with a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Restructure to get rid of _onStart and _onError Created 8 years, 2 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 | « no previous file | runtime/bin/process.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/io.dart
diff --git a/lib/compiler/implementation/lib/io.dart b/lib/compiler/implementation/lib/io.dart
index ee6559f323ee21b47cd04dab41018e3e0d54cb5e..8d544b238cbf8285a84f6178114a03f001a426e0 100644
--- a/lib/compiler/implementation/lib/io.dart
+++ b/lib/compiler/implementation/lib/io.dart
@@ -154,9 +154,9 @@ void _exit(int exitCode) {
}
class _Process {
- static Process start(String executable,
- List<String> arguments,
- [ProcessOptions options]) {
+ static Future<Process> start(String executable,
+ List<String> arguments,
+ [ProcessOptions options]) {
var msg = 'Process.start($executable, $arguments, $options)';
throw new UnsupportedOperationException(msg);
}
« no previous file with comments | « no previous file | runtime/bin/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698