I'm attempting to wrap up a Python program and turn it into a service, using
the method listed in Mark Hammond's book (*not* using py2exe).   The program
spawns a bunch of threads using the "subprocess" module.  If I run the
program from the command line, everything works fine.  If I run it as a
service, any kind of exception seems to stop the affected thread
immediately.  Exceptions are not bubbling up to the relevant try/except
block.

The only thing I can think of right now is that I'm running on a 64-bit
version of Windows, and that the win32 packages won't fully work in that
environment.   (Although the startup string for Python says that it's the 32
bit Python [MSC  v.1310 32 bit (Intel) ], so I think that's a wild goose
chase.)

Anyone have any ideas?  I'll try to put together a succinct test case that I
can share.

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

Reply via email to