Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-09 Thread le dahut
I suppose that the user's program throws an exception if the service isn't started yet. I propose this : while True: try: do_what_fails_if_service_isn_t_started break except: time.sleep(0.5) I've this problem when using wipfw and twisted's reactor. stephane.poirot

Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-05 Thread Tim Golden
spoirot wrote: But the big problem is that my service has to alter some registry keys in HKLM hive, and these changes have to be done after any user login : indeed, I would like to set these keys at windows boot in order that when anyone logs in, the changes take effect. If the changes are

[python-win32] Service does not start at windows boot but at user's login

2008-06-04 Thread stephane.poirot
Good morning, I'm currently building an application which involves two different processes : one is a service and the other one is a simple client. My client starts at user's login and the service should start at windows boot. I say 'should' because it seems that the service actually starts at

Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-04 Thread Mark Hammond
XP and Vista both pull a few tricks to get you logged on before all services have started - there are no guarantees that all services will be started before any user programs. It's probably best to just have your client deal with the situation (either by blindly, but smartly, retrying, or by

Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-04 Thread bob gailer
stephane.poirot wrote: Good morning, I'm currently building an application which involves two different processes : one is a service and the other one is a simple client. My client starts at user's login and the service should start at windows boot. I say 'should' because it seems that the