Print 50000$ monopoly money (#27531)

This commit is contained in:
xster
2019-02-05 15:00:51 -08:00
committed by GitHub
parent 9abe4c6dfe
commit 36c5e321a5
20 changed files with 113 additions and 77 deletions

View File

@@ -4,9 +4,10 @@
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:flutter_tools/src/base/common.dart';
Process daemon;
// To use, start from the console and enter:
@@ -82,10 +83,10 @@ Future<void> main() async {
});
// Print in the callback can't fail.
daemon.exitCode.then<void>((int code) { // ignore: unawaited_futures
unawaited(daemon.exitCode.then<void>((int code) {
print('daemon exiting ($code)');
exit(code);
});
}));
}
int id = 0;