Hi,

Michael Manfre <mmanfre <at> gmail.com> writes:

> 
> Is it possible to pass args through PythonService.exe on to the
ServiceFramework class? The only arg that I ever see come through the init
is a tuple containing only the _svc_name_. I need to install many services
for celery workers and having to create a separate class/file for each
environment and queue combination would be painful. 
> 

This works for me by setting the _exe_args_ class variable (similar to
_svc_name_) in my service class (found in win32serviceutil.py).

Regards,

- Andreas



_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to