{"action":"created","issue":{"url":"https://api.github.com/repos/awesomeWM/awesome/issues/406","labels_url":"https://api.github.com/repos/awesomeWM/awesome/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/awesomeWM/awesome/issues/406/comments","events_url":"https://api.github.com/repos/awesomeWM/awesome/issues/406/events","html_url":"https://github.com/awesomeWM/awesome/pull/406","id":100708323,"number":406,"title":"Spawn with pipes","user":{"login":"psychon","id":89482,"avatar_url":"https://avatars.githubusercontent.com/u/89482?v=3","gravatar_id":"","url":"https://api.github.com/users/psychon","html_url":"https://github.com/psychon","followers_url":"https://api.github.com/users/psychon/followers","following_url":"https://api.github.com/users/psychon/following{/other_user}","gists_url":"https://api.github.com/users/psychon/gists{/gist_id}","starred_url":"https://api.github.com/users/psychon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psychon/subscriptions","organizations_url":"https://api.github.com/users/psychon/orgs","repos_url":"https://api.github.com/users/psychon/repos","events_url":"https://api.github.com/users/psychon/events{/privacy}","received_events_url":"https://api.github.com/users/psychon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-13T07:42:26Z","updated_at":"2015-08-31T19:04:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/awesomeWM/awesome/pulls/406","html_url":"https://github.com/awesomeWM/awesome/pull/406","diff_url":"https://github.com/awesomeWM/awesome/pull/406.diff","patch_url":"https://github.com/awesomeWM/awesome/pull/406.patch"},"body":"This adds `awful.util.spawn_with_lines` (TODO: Suggestions for a better name?) that spawns a program and captures its standard output line by line, calling a lua function on each line. Additionally, another function is called when this pipe is closed.\r\n\r\nRef: https://github.com/awesomeWM/awesome/pull/378"},"comment":{"url":"https://api.github.com/repos/awesomeWM/awesome/issues/comments/136468702","html_url":"https://github.com/awesomeWM/awesome/pull/406#issuecomment-136468702","issue_url":"https://api.github.com/repos/awesomeWM/awesome/issues/406","id":136468702,"user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T19:04:35Z","updated_at":"2015-08-31T19:04:35Z","body":"Awesome! Thanks!"}}