如何使控制台程序,以dissapear并在后台工作? [英] How to make console program,to dissapear and work in background?

查看:93
本文介绍了如何使控制台程序,以dissapear并在后台工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使控制台程序,以dissapear和工作的背景?结果
我的意思是,我不希望看到的节目,但我想看到它通过任务管理器运行。结果
我该怎么办呢?结果
谢谢你。

How to make console program,to dissapear and work in background?
I mean,I don't want to see the program,but I want to see it running through the task manager.
How can I do that?
Thanks.

推荐答案

假设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...

这篇关于如何使控制台程序,以dissapear并在后台工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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