pass standard input stream to program Follow
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:
"< /path-to-input-file/input-file"
What am I doing wrong ?
Best,
-Ben
Please sign in to leave a comment.
fyi, per Serge Baranov at JetBrains, setting up remote debugging did the trick.
cheers,
-Ben