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]
>> #
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
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
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
# 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