如何使控制台程序消失并在后台运行? [英] How to make console program to disappear and work in background?
本文介绍了如何使控制台程序消失并在后台运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使控制台程序消失并在后台运行? 我的意思是,我不想看到该程序,但是我想看到它在任务管理器中运行.
How can I make console program disappear and work in the background? I mean, I don't want to see the program, but I want to see it running in the task manager.
谢谢.
推荐答案
假定Windows和.NET:
Assuming Windows and .NET:
您可以将其输出类型设置为"Windows应用程序",并且不会打开控制台窗口....
You could set its output type to "Windows Application", and it will not open the console window....
或者您可以创建Windows服务...
Or you could create a Windows Service...
这篇关于如何使控制台程序消失并在后台运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文