Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 cygwin 从 linux 编译我的 C++ 守护程序代码。它可以工作,但不能作为 Windows 服务。它在进程列表中。如何将其作为服务运行?或者我可以用cygwin编译一个windows服务吗?
cygrunsrv用于安装和管理基于 Cygwin 的 Windows 服务。安装该软件包后,文件中会提供完整的文档 /usr/share/doc/Cygwin/cygrunsrv.README。
cygrunsrv
/usr/share/doc/Cygwin/cygrunsrv.README