Configure the run command

Viewed 35

I begin to use geany to play with rust under Windows 10. I would like to configure the "run command" to read stdin from a file (e.g. my_program < in.txt)

enter image description here

I am only interest with "run command". I tried to write "< in.txt", "<" "in.txt" in the first or in the second box of the line "run", nothing works. Have you a solution ? Thank you for any tips.

1 Answers

I found the solution : I wrote cmd /K "%e < in.txt" in the first box of the "Run" line.

enter image description here

Related