开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜