Hi,
I'm trying to
execute a python script as a windows service.
I found some
information at:
http://agiletesting.blogspot.com/2005/09/running-python-script-as-windows.html
The steps I've taken
are the following:
1. Downloaded
Windows Resource Kits
2. Executed
instsrv.exe nameOfService
Hi,
No, I did not use a batch file. As I understand, it should be possible to do
this without a batch file.
The name of my script is not the same as the service name, if that's what
you are asking... Installing the service is not a problem, and it gets
listed in the services menu.
-Original
Tor Erik Sønvisen wrote:
I'm trying to execute a python script as a windows service.
I found some information at:
http://agiletesting.blogspot.com/2005/09/running-python-script-as-windows.html
The steps I've taken are the following:
1. Downloaded Windows Resource Kits
2. Executed
The problem is much more involved to describe than the solution. I run
windows XP, and I keep
python scripts all over my drive. Rather than adding all sorts of
subdirectory's to my path, i create
hardlinks to the scripts that I need to use from the command line in a
single \bin directory.
Gerard Brunick wrote:
...I run windows XP, and I keep
python scripts all over my drive. Rather than adding all sorts of
subdirectory's to my path, i create
hardlinks to the scripts that I need to use from the command line in a
single \bin directory.
...
The solution seems to be change
Please ignore my suggestion. It turns out that things are not
as simple as I thought, and the change I suggested does not play
well with the debugger or new files in PythonWin.
To get your hands on hard links in windows use fsutil
or the windows api function CreateHardLink as in