Re: win32 Service: path to .py script

2006-09-19 Thread Gregor Horvath
Larry Bates schrieb: > I believe that your problem is that services run under Local > System account. Normally Local System account would not have > a drive mapping Y:\. You can change the account that a service You are absolutly correct. I moved the script to a local drive instead of a mapped

Re: win32 Service: path to .py script

2006-09-19 Thread Larry Bates
Gregor Horvath wrote: > Hi, > > I have a testservice.py (see below). I installed the Windows-Service > successfully. (via commandlineoption install) > The problem is that it runs only when it is in c:\windows\system32 or in > the python path. > I added the desired path (Y:\) to the PYTHONPATH envi

win32 Service: path to .py script

2006-09-19 Thread Gregor Horvath
Hi, I have a testservice.py (see below). I installed the Windows-Service successfully. (via commandlineoption install) The problem is that it runs only when it is in c:\windows\system32 or in the python path. I added the desired path (Y:\) to the PYTHONPATH environment variable for the system acco