在Eclipse中分离stdin和stdout文件

时间:2013-02-14 17:57:20

标签: eclipse stdout stdin

启动配置对话框

enter image description here

我是对的,如果需要来自文件的输入,那么输出也会进入文件?为什么它必须是同一个文件?我没有看到任何选项有两个单独的连接。

1 个答案:

答案 0 :(得分:0)

UI无疑令人困惑,但该文件仅用于输出。没有类似的方法可以将文件用作输入,因此“输入必需”提示。

请参阅:

I/O redirection in eclipse?

Eclipse reading stdin (System.in) from a file

How can we redirect eclipse console output to a file?