You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read your article at the URL above, and can confirm that from within an IDE (IntelliJ IDEA), when running the code in a "Run" window, System.console() returns null, and thus readLine is not available on it. System.in.newReader().readLine() does work fine in this environment.
The text was updated successfully, but these errors were encountered:
https://code-maven.com/groovy-read-from-stdin
I read your article at the URL above, and can confirm that from within an IDE (IntelliJ IDEA), when running the code in a "Run" window, System.console() returns null, and thus readLine is not available on it. System.in.newReader().readLine() does work fine in this environment.
The text was updated successfully, but these errors were encountered: