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

Unified Diff: samples/total/server/TotalRunner.dart

Issue 10392023: Change dart:io to use Future for one-shot operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding stable test binaries Created 8 years, 7 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 | « samples/leap/leap_server.dart ('k') | tests/standalone/io/dart_std_io_pipe_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/server/TotalRunner.dart
diff --git a/samples/total/server/TotalRunner.dart b/samples/total/server/TotalRunner.dart
index 20f668d34d7b1609f63bea0cb637a3c78ceb405f..07868e1292ae82da45d620b7373c4bd897178449 100755
--- a/samples/total/server/TotalRunner.dart
+++ b/samples/total/server/TotalRunner.dart
@@ -52,9 +52,9 @@ class ServerRunner {
if (foundExec == null) {
print("No executable found on DART_EXECS:\n" + DART_EXECS);
exitCallback(1, this);
- return;
+ return;
}
- Process dart = new Process.start(foundExec, [_serverMain]);
+ Process dart = Process.start(foundExec, [_serverMain]);
dart.onExit = (int status) {
dart.close();
« no previous file with comments | « samples/leap/leap_server.dart ('k') | tests/standalone/io/dart_std_io_pipe_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698