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

2006-09-13 Thread Larry Bates
Larry Bates wrote: > kkt49 wrote: >> 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] >> #

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

2006-09-13 Thread Larry Bates
kkt49 wrote: > 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_ = inf

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

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

2006-09-11 Thread Larry Bates
I believe you misunderstand services. They don't have user interfaces (UIs) like other programs. They run without any UI as background processes that are in basically in an infinite loop but with a way to break out of the loop (stop service). If you wish to have a background service that has some

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