[python-win32] how to run python in background on Windows ?

Whittingham, Thomas twhittin at wharton.upenn.edu
Thu Jun 3 10:38:53 EDT 2004


This may be obvious but did you set up the service to start
automatically?  In the same dialog boxes that let you start/stop Windows
services you can specify whether a service should run at startup.
 
~Tom

Tom Whittingham
Data Analyst
Treatment Research Center
Whittingham_T at mail.trc.upenn.edu
215-222-3200 x143 (work)
215-386-5106 (fax @ work)
267-456-6802 (cell/home)

"For You so loved the unlovable
That You gave the Ineffable
That who so believes the unbelievable
Will gain the unattainable."

-- "There You Go" lyrics, by Caedmon's Call

-----Original Message-----
From: Michael Li [mailto:mli at deform.com] 
Sent: Thursday, June 03, 2004 10:19 AM
To: python-win32 at python.org
Subject: [python-win32] how to run python in background on Windows ?

Hi,

I was trying to run my python program as a server in background
on Windows, but I failed.

On Unix, I can do :
% python myscript.py &

On Windows, I use Windows' service to start/stop
the python. In the same login session, I got success,
I can see python program from TaskManager.
but when I log out and log in again, my python server
is gone, I can not see python program from TaskManager.

Is there anyone there knowing how to run python
in background as Windows' service ?

best regards.
Michael Li


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



More information about the Python-win32 mailing list