|
Subject: Re: Getting buildbot to kill all subprocesses Newsgroups: gmane.comp.python.buildbot.devel Date: Friday 5th March 2010 21:04:32 UTC (over 7 years ago) On 08:52 pm, [email protected] wrote: >buildbot should probably be doing something like setpgrp when it >starts a process so that the entire process group can be killed >properly. Twisted's spawnProcess API makes something like this available (it actually does a setsid, but same idea). Unfortunately it forces you to use a pty if you want this, which isn't so cool. I'd love it if these two features were available independently of each other. Too many other things on my plate these days, though. Also, there's the obscure case where buildbot runs a process that runs processes that fiddle with their process group, and that would break this feature. Not many things should be doing this, so it's probably not a big deal, but it's worth keeping in mind that it's not foolproof. Jean-Paul ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev |
||