Re: win32service (wxpython) -- i cannot install service

2006-09-11 Thread kkt49
under code service install => ok _svc_name_ = r'moin_service' _svc_display_name_ = r'moin_service' start_cmd = r"c:\mmde\moin.exe" #info = ['', '', ''] def __init__(self): #self._svc_name = info[0] #self._svc_display_name_ = info[1] #self.start_cmd = in

win32service (wxpython) -- i cannot install service

2006-09-10 Thread kkt49
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process ID_ABOUT = 101 ID_EXIT = 102 # the max seconds we're allowed to spend backing off BACKOFF_MAX = 300 # if the process runs suc