且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将DART应用程序作为Windows服务运行?

更新时间:2022-10-21 17:00:20

There's no difference in using Dart for a Windows service as any other executable; you just need to call dart.exe with the correct arguments.

However, Windows doesn't support running arbitrary exes as Windows Services, as they require a little metadata/bootstrapping. I've had good experiences with NSSM - the Non-Sucking Service Manager. In the comments, SC.exe was suggested; but I was unable to get it running on the latest version of Windows Server :(

相关阅读

技术问答最新文章