io redirection - Simulate input from stdin when running a program in intellij -
is there way configure command line args intellij stdin redirection?
something along lines of:
run | edit run configurations | script parameters
/shared/java/paf-rules.properties 2 < /shared/java/testdata.csv
unfortunately, no - @ least not directly in run configurations.
the best can do, afaik, either to:
modify script / program run either no args (reads
system.in
) or filename argument (reads file)make wrapper script / program acts in manner above.
hope helps,
vikingsteve
Comments
Post a Comment