From: Jamey Cribbs Date: 2005-11-15T00:35:32+09:00 Subject: Re: A dRuby application running as a Windows service? Dominic Marks wrote: >Hello, > >I'm attempting to write a small druby application which will run on our >network of Windows PCs. The application will run in the background and allow >some methods to be used on the client PCs. This application needs to run >invisibly on the client PCs so I have installed the script as a service >using SRYANY.EXE, I first tried using the win32-service module, and while I >could install the service properly I could not get it to start. > > In the latest version of KirbyBase I just released (http://netpromi.com/kirbybase_ruby.html), I have an example script of how to run the server, which is a druby app, as a Windows Service using win32-service. I pretty much stole two of Daniel Berger's sample scripts and changed a few lines of code and it worked. Daniel would be the one to answer any complex questions about this, but if you want to see my examples, you can download the KirbyBase distribution and look in the examples/kbserver_as_win32_service directory. HTH, Jamey Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.