如何使Eclipse输出std:out到标准的Windows控制台

问题描述:

如eclipse用户所知,eclipse捕获std out和err的输出,并将其转储到与IDE集成的控制台中。

As eclipse users know, eclipse captures the output of std out and err by default and dumps it into the console that is integrated with the IDE.

eclipse只使用一个标准的windows cmd实例来显示std:out和std:err默认情况下,大多数其他IDE的做法。

I would like eclipse to just use a standard windows cmd instance to display std:out and std:err by default, the way most other IDE's do. Does anybody know how to set this up?

我不知道是否可以重定向到一个正确的控制台窗口,然后它可以重定向到一个文件(这是更有用的IMHO) - 在运行/调试设置 - >公共 - >标准输入和输出(它甚至可以同时写入控制台和文件) 。

I don't know if it's possible to redirect to a proper console window, however it can redirect to a file (which is more useful IMHO) - under Run/Debug settings -> Common -> Standard Input and Output (it can even write to console and file at the same time).