Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Chris Curvey
On Tue, May 12, 2009 at 5:00 PM, Tim Roberts t...@probo.com wrote: Chris Curvey wrote: 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

Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Chris Curvey
On Tue, May 12, 2009 at 4:08 PM, Chris Curvey ch...@chriscurvey.com wrote: 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

Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Mark Hammond
On 14/05/2009 1:08 AM, Chris Curvey wrote: exception to be raised by the logging module. And the default behavior for the logging module is to print errors to stdout, which does not exist because we're running in a thread. FYI, stdout was invalid as it was a service - nothing to do with

Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Chris Curvey
On Wed, May 13, 2009 at 6:27 PM, Mark Hammond skippy.hamm...@gmail.comwrote: On 14/05/2009 1:08 AM, Chris Curvey wrote: exception to be raised by the logging module. And the default behavior for the logging module is to print errors to stdout, which does not exist because we're running in

[python-win32] python win-32, 64-bits, and services

2009-05-12 Thread Chris Curvey
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

Re: [python-win32] python win-32, 64-bits, and services

2009-05-12 Thread Tim Roberts
Chris Curvey wrote: 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. The subprocess module does not create threads. It creates