| Index: samples/total/server/TotalRunner.dart
|
| diff --git a/samples/total/server/TotalRunner.dart b/samples/total/server/TotalRunner.dart
|
| index 411b815981904a2d95194cfb92f7dcc2447798f4..20f668d34d7b1609f63bea0cb637a3c78ceb405f 100755
|
| --- a/samples/total/server/TotalRunner.dart
|
| +++ b/samples/total/server/TotalRunner.dart
|
| @@ -56,13 +56,13 @@ class ServerRunner {
|
| }
|
| Process dart = new Process.start(foundExec, [_serverMain]);
|
|
|
| - dart.exitHandler = (int status) {
|
| + dart.onExit = (int status) {
|
| dart.close();
|
| exitCallback(status, this);
|
| };
|
|
|
| - dart.stdout.dataHandler = () => readMore(dart.stdout, new StringBuffer());
|
| - dart.stderr.dataHandler = () => readMore(dart.stderr, new StringBuffer());
|
| + dart.stdout.onData = () => readMore(dart.stdout, new StringBuffer());
|
| + dart.stderr.onData = () => readMore(dart.stderr, new StringBuffer());
|
| }
|
|
|
| void readMore(InputStream i, StringBuffer readSoFar) {
|
|
|