{"action":"created","issue":{"url":"https://api.github.com/repos/hishamhm/htop/issues/368","repository_url":"https://api.github.com/repos/hishamhm/htop","labels_url":"https://api.github.com/repos/hishamhm/htop/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/hishamhm/htop/issues/368/comments","events_url":"https://api.github.com/repos/hishamhm/htop/issues/368/events","html_url":"https://github.com/hishamhm/htop/pull/368","id":133041329,"number":368,"title":"Add a 'kill process group' feature bound to the 'g' key","user":{"login":"Arkanosis","id":124583,"avatar_url":"https://avatars.githubusercontent.com/u/124583?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkanosis","html_url":"https://github.com/Arkanosis","followers_url":"https://api.github.com/users/Arkanosis/followers","following_url":"https://api.github.com/users/Arkanosis/following{/other_user}","gists_url":"https://api.github.com/users/Arkanosis/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkanosis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkanosis/subscriptions","organizations_url":"https://api.github.com/users/Arkanosis/orgs","repos_url":"https://api.github.com/users/Arkanosis/repos","events_url":"https://api.github.com/users/Arkanosis/events{/privacy}","received_events_url":"https://api.github.com/users/Arkanosis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T17:51:13Z","updated_at":"2016-02-12T11:22:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hishamhm/htop/pulls/368","html_url":"https://github.com/hishamhm/htop/pull/368","diff_url":"https://github.com/hishamhm/htop/pull/368.diff","patch_url":"https://github.com/hishamhm/htop/pull/368.patch"},"body":"_(Opening a new issue to replace the former #122 which looks buggy for some reason, but the content is exactly the same.)_\r\n\r\nHello,\r\n\r\nThis PR adds the “kill group” feature bound to the “g” key. It works exactly as the “kill” feature (F9/k), except that it kills all processes sharing the same PGRP instead of a single process.\r\n\r\nBest regards,"},"comment":{"url":"https://api.github.com/repos/hishamhm/htop/issues/comments/183284755","html_url":"https://github.com/hishamhm/htop/pull/368#issuecomment-183284755","issue_url":"https://api.github.com/repos/hishamhm/htop/issues/368","id":183284755,"user":{"login":"Explorer09","id":2487263,"avatar_url":"https://avatars.githubusercontent.com/u/2487263?v=3","gravatar_id":"","url":"https://api.github.com/users/Explorer09","html_url":"https://github.com/Explorer09","followers_url":"https://api.github.com/users/Explorer09/followers","following_url":"https://api.github.com/users/Explorer09/following{/other_user}","gists_url":"https://api.github.com/users/Explorer09/gists{/gist_id}","starred_url":"https://api.github.com/users/Explorer09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Explorer09/subscriptions","organizations_url":"https://api.github.com/users/Explorer09/orgs","repos_url":"https://api.github.com/users/Explorer09/repos","events_url":"https://api.github.com/users/Explorer09/events{/privacy}","received_events_url":"https://api.github.com/users/Explorer09/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T11:22:56Z","updated_at":"2016-02-12T11:22:56Z","body":"I have a question: What is the use case for this? Killing all processes of a process group seems to be more dangerous than just killing one. And ideally you don't have to (most of the time) -- for a well written multi-threaded program, if a child (process or thread) dies, the parent should notice this and exit itself and its children properly.\r\nSo I can't think of any use case that makes this useful. `top` doesn't implement such thing either."}}