如何从外部控制台应用程序读取? [英] How to read from an external console application?

查看:221
本文介绍了如何从外部控制台应用程序读取?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个我没有写的控制台应用程序。有没有一些简单的方法来阅读?
我需要在控制台窗口中输入输入,但是看看显示的内容。



我不在乎输出是否显示到控制台,只要输入仍然有效。

解决方案

控制台应用程序运行器类非常好地控制控制台应用程序进程,并在需要时重定向输入和输出。


I have a console application that I didn't write. Is there some easy way to read from it? I need to have the input still on the console window, but read what's being displayed.

I care not whether the output displays to the console or not, so long as the input still works.

解决方案

Console Application Runner Classes are excellent to control the console application processes and to redirect input and output where required.

这篇关于如何从外部控制台应用程序读取?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆