I have a program that reads input from a file via the standard input stream, as in
java my-application < input-file
My program hangs inside of intellij when it tries to read from System.in. I've tried the following setting in the run configuration dialog, program parameters:
What am I doing wrong ?