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 w

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

2008-06-05 Thread spoirot
bob gailer wrote : Not really my area of expertise, but might it be possible to use one of the RunOnce keys in your circumstances? My client starts at user's login. This is made by putting a value in the Run key of HKLM hive. My Service is configured to start automatically at windows boot. F

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 done

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

2008-06-05 Thread spoirot
bob gailer wrote : I run Windows 2003 Server with automatic logon. It seems to me that some services are started after the logon. I base this on noting that I get the Some Services Did Not Start alert many seconds after my desktop has appeared. Could the client repeatedly try connecting wit

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 ser

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

2008-06-04 Thread Mark Hammond
python.org > Subject: [python-win32] Service does not start at windows boot but at > user's login > > 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

[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