34

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.

Tvaroh
  • 6,645
  • 4
  • 51
  • 55

2 Answers2

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
4

In Dec 2012, it was still not possible : http://devnet.jetbrains.com/thread/436131

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