[Buildbot-devel] WinXP and Login Sessions

Charles Lepple clepple at gmail.com
Sat Aug 16 00:04:27 UTC 2008


On Fri, Aug 15, 2008 at 7:47 PM, Mark MacVicar <mark.macvicar at gmail.com> wrote:
> I run buildbot as a service under WinXP following the instructions
> here http://ascendwiki.cheme.cmu.edu/BuildBot. I'm using MS Visual
> Studio's command line tool to compile

When you set up the service, was this bit of code on that page?

#-----8<----
#Ignore signal on user logout
# -- thanks to Matthieu Brucher
import win32api

def sighandler(sig):
    print "received signal %s" % (sig,)
    return True

win32api.SetConsoleCtrlHandler(sighandler, True)
#-----8<----

It looks like that should handle things.

Ping me next week and I'll check and see what I had to do to get my
Win32 buildslave working (although I don't remember following those
instructions myself - maybe one of the other Windows experts at work
helped me set up the service?)

Then again, does it only kill the build if you log out while a build
is active? I think I usually just log out before the build starts.
(It's a VM and the build needs all the memory it can get.)

-- 
- Charles Lepple




More information about the devel mailing list