How do I make an exe into a service on Windows?
In the Windows NT Resource Kit, Microsoft provides a tool called srvany
that will run an .exe
as a service. A tool that works better than that is The Non-Sucking Service Manager (nssm).
I have used nssm to turn a python console executable that's a web server into a service that runs when the system boots successfully.