There's a method in `io.rb` called `kill_process_group`.