When running a command-line Java application from IntelliJ IDEA, is it possible to send EOF symbol to the program awaiting input? In console this can be done using ctrl-d combination but in IDEA it doesn't work.
Asked
Active
Viewed 8,592 times
2 Answers
39
It's been implemented, use Ctrl+D / ⌘+D on Mac. https://www.jetbrains.com/idea/help/debug-tool-window-console.html

Pavel
- 3,481
- 26
- 31
-
Works for me on Mac. Thank you! – Nick Ivanov Mar 07 '18 at 04:41
4
In Dec 2012, it was still not possible : http://devnet.jetbrains.com/thread/436131

Jean-Philippe Briend
- 3,455
- 29
- 41