niemeyer/hsandbox — pull request #15 by mrdomino (2012-11-13 07:40:59+00:00)
Title: Kill processes with os.kill

os.killpg is not available in OS X. Luckily, os.kill(-pid) kills process
groups. It still fails occasionally, though, so ignore exceptions.