[python-win32] python win-32, 64-bits, and services
Chris Curvey
chris at chriscurvey.com
Tue May 12 22:08:07 CEST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090512/ac808e1c/attachment.htm>
More information about the python-win32
mailing list