如何在当前程序的Dart程序中捕获Ctrl+ C或SIGINT?
Node与此类似:
process.on('SIGINT', function() { // do stuff });
dart dart-io
dart ×1
dart-io ×1