Closed emilniklas closed 9 years ago
Hey, I just realized!
It's stdout.terminalColumns
that throws the exception. I'll take this to the Dart authors, instead!
I think this is the bug you want to star:
https://code.google.com/p/dart/issues/detail?id=21821
Can you add your use case as a comment there?
When running a file through pub run, Console cannot measure the console window. This might be an unsolvable problem if pub run runs everything in some sort of sandboxed mode, I don't know. But I thought you might want to know!
bin/main.dart
This throws an error message as follows: