redirecting stdout and stderr for a windows service

Ian hobson42 at
Mon Sep 6 23:33:50 CEST 2010

  On 06/09/2010 15:29, Ian Hobson wrote:
> Hi all,
Forget this.

The problem is that it is a Windows Service, so it is not initialised in 
the normal way.

PythonService.exe loads other code (named __main__) that loads the 
service proper, so the
if test was never true!



More information about the Python-list mailing list