[英]c# console-application - how to unite processes under windows
I have few console-applications processes that I run under windows. 我在Windows下运行的控制台应用程序进程很少。 Each process runs under separate window and it looks messy.
每个进程在单独的窗口下运行,看起来很乱。 Is there a way to unite the processes under one hub that will manage them?
有没有一种方法可以将流程统一在一个可以管理它们的中心下?
You can create new console application that will launch others with special parameters (to hide windows) and receive their standart output, so it will be possible to show output from all processes in your window. 您可以创建新的控制台应用程序,该应用程序将启动具有特殊参数的其他应用程序(以隐藏窗口)并接收其标准输出,因此可以在窗口中显示所有进程的输出。
In some cases alternative way could be to convert those processes to Windows services. 在某些情况下,替代方法可能是将那些进程转换为Windows服务。
Update: googled for quick example. 更新:谷歌搜索快速示例。 It is here or in this SO question
在这里或在这个问题中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.