[Buildbot-devel] Problems with buildbot 0.7.5 on WinXP
Matthieu Brucher
matthieu.brucher at gmail.com
Tue Jul 31 07:44:19 UTC 2007
>
> > Yes, it seems that with svrany, the pythonw instance gets a SIGBREAK
> > on a log off.
>
>
> Anything we can do about that? Perhaps catch the SIGBREAK (if that's
> possible)?
Yes, I found this in my searches on google :
import win32api
def sighandler(sig):
print "received signal %s" % (sig,)
return True
win32api.SetConsoleCtrlHandler(sighandler, True)
The guy who wrote this said that he feared that the service couldn't be
stopped with this, but I did not encountered a bug since I added this in my
start_buildbiot.py file.
Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20070731/eb119781/attachment.html>
More information about the devel
mailing list