How does a Windows service differ from a standard exe?

后端 未结 5 830
梦毁少年i
梦毁少年i 2021-01-31 02:52

What\'s the difference between a Windows service and a standard exe?

5条回答
  •  你的背包
    2021-01-31 02:55

    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.

    You would use a windows service for things that always need to run even if nobody is logged in.

    You would use a standard EXE for programs that a user will run while logged in.

提交回复
热议问题