pass standard input stream to program

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 I've tried the following setting in the run configuration dialog, program parameters:

"< /path-to-input-file/input-file"

What am I doing wrong ?


1 comment
Comment actions Permalink

fyi, per Serge Baranov at JetBrains, setting up remote debugging did the trick.



Please sign in to leave a comment.