Windows 服务与标准 exe 有何不同? [英] How does a Windows service differ from a standard exe?
本文介绍了Windows 服务与标准 exe 有何不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Windows 服务和标准 exe 有什么区别?
What's the difference between a Windows service and a standard exe?
推荐答案
Windows 服务总是在计算机启动后运行(只要它如此配置).标准 EXE 仅在用户登录时运行,并在用户注销时停止.
A windows service always runs once the computer starts up (as long as it's so configured). A standard EXE only runs when a user is logged in, and will stop if the user logs out.
对于即使没有人登录也总是需要运行的事情,您可以使用 Windows 服务.
You would use a windows service for things that always need to run even if nobody is logged in.
对于用户登录时将运行的程序,您可以使用标准 EXE.
You would use a standard EXE for programs that a user will run while logged in.
这篇关于Windows 服务与标准 exe 有何不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文