[python-win32] Runnin Python app as service with separate console

Mark Hammond mhammond at skippinet.com.au
Wed Apr 5 09:53:54 CEST 2006


> I have a robust, stable Python script that runs 24-7, crunching a telnet
> feed of real-time data. Problem is, it has to run in a dos console
> window on the desktop. I would like to run it as a service,

If it must run on the desktop of the logged in user, then this is not what
services are for.  A service can have a console, but it will not be attached
to the "WindowStation".

Otherwise I'm not sure why it must run in a DOS console - but in general
your Python module can run as a service - but no one will be able to *see*
any consoles associated with it.

Mark



More information about the Python-win32 mailing list