简体   繁体   中英

Configure the run command

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 (eg my_program < in.txt)

在此处输入图像描述

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.

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

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM