ucb-sts/sts — pull request #18 by andi-bigswitch (2014-02-15 04:45:36+00:00)
Title: procutils: kill process group if proccess is the leader

@colin-scott

A friendly pull request from my BSN identy :)

I am using STS as a convenient framework to write a distributed systems integration test (actually I might be running MCS shortly). Anyway, I got annoyed by the fact that we couldn't clean up processes properly when shell was True. This solves the problem by killing the process group instead of the process when the process is the leader. With popen_filtered, processes become the leader new process groups because of the call to setsid()