开发者

what is the win32 alternative to the Unix daemon() subroutine?

开发者 https://www.devze.com 2022-12-30 08:10 出处:网络
I have to call several (> 10) .exe command line programs in the background. Creating a Windows Services doesn\'t sound v开发者_Go百科ery appealling in this context - c\'mon, that\'s a bit overpowered

I have to call several (> 10) .exe command line programs in the background. Creating a Windows Services doesn't sound v开发者_Go百科ery appealling in this context - c'mon, that's a bit overpowered for such a simple task.

Is there anything like a daemon(3) subroutine for Windows?


You might look into using the srvany.exe service wrapper found in the Windows Server 2003 Resource Kit Tools. I have used this method quite successfully under Windows XP, but I cannot comment on how it may work for newer versions of the OS.

There seems to be plenty of information available1 on how to use this tool.

1 - Google search for srvany+howto

0

精彩评论

暂无评论...
验证码 换一张
取 消