I was trying to keep things consistent with UNIX, but I suppose there's no reason I have to do things that way. Thanks.
On 12/5/05, Tim Golden <[EMAIL PROTECTED]> wrote:
[Justin Johnson]
> I'm trying to setup an application that runs as a
> Windows service to rotate logs upon receiving a certain
> signal. Whenever I try to do this I get the following error.
> Exception in TestService.SvcStart: signal only works in main
thread
Is there some reason you have to use Unix-style signals? If you
were to use win32 events (using, say, the win32event module from
pywin32) I suspect it would bypass the problem altogether.
TJG
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________ Python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
