jose wrote: > I've been playing around with pylons lately on windows and saw that > there > is no equivalent to demonize in paste for windows. So after looking > around at > lots of code I stole and modified some example windows service code > from cherrypy. Basically if you put the windowservice.py fine in the > same file as your inifile, and run it it will add a new section to the > ini file which will allow you to define a windows service, running it > again a second time will allow you to install, and run the newly > defined service. I'm including the file, hopefully someone else will > find it useful, and if anyone has suggestions on how to improve the > spaghetti code It would be much appreciated.
Cool; maybe this should be a paster command, like: paster winservice <ini-file> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss -~----------~----~----~----~------~----~------~--~---
