{"action":"created","issue":{"url":"https://api.github.com/repos/sferik/t/issues/319","repository_url":"https://api.github.com/repos/sferik/t","labels_url":"https://api.github.com/repos/sferik/t/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/sferik/t/issues/319/comments","events_url":"https://api.github.com/repos/sferik/t/issues/319/events","html_url":"https://github.com/sferik/t/issues/319","id":136688880,"number":319,"title":"pipe stream","user":{"login":"kudumi","id":2169726,"avatar_url":"https://avatars.githubusercontent.com/u/2169726?v=3","gravatar_id":"","url":"https://api.github.com/users/kudumi","html_url":"https://github.com/kudumi","followers_url":"https://api.github.com/users/kudumi/followers","following_url":"https://api.github.com/users/kudumi/following{/other_user}","gists_url":"https://api.github.com/users/kudumi/gists{/gist_id}","starred_url":"https://api.github.com/users/kudumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kudumi/subscriptions","organizations_url":"https://api.github.com/users/kudumi/orgs","repos_url":"https://api.github.com/users/kudumi/repos","events_url":"https://api.github.com/users/kudumi/events{/privacy}","received_events_url":"https://api.github.com/users/kudumi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-26T12:48:31Z","updated_at":"2016-04-02T11:36:39Z","closed_at":null,"body":"is it possible to pipe the stream? (pass the output to other apps) it just breaks when I try to pipe with \"|\""},"comment":{"url":"https://api.github.com/repos/sferik/t/issues/comments/204698739","html_url":"https://github.com/sferik/t/issues/319#issuecomment-204698739","issue_url":"https://api.github.com/repos/sferik/t/issues/319","id":204698739,"user":{"login":"valexa-stu","id":11425190,"avatar_url":"https://avatars.githubusercontent.com/u/11425190?v=3","gravatar_id":"","url":"https://api.github.com/users/valexa-stu","html_url":"https://github.com/valexa-stu","followers_url":"https://api.github.com/users/valexa-stu/followers","following_url":"https://api.github.com/users/valexa-stu/following{/other_user}","gists_url":"https://api.github.com/users/valexa-stu/gists{/gist_id}","starred_url":"https://api.github.com/users/valexa-stu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valexa-stu/subscriptions","organizations_url":"https://api.github.com/users/valexa-stu/orgs","repos_url":"https://api.github.com/users/valexa-stu/repos","events_url":"https://api.github.com/users/valexa-stu/events{/privacy}","received_events_url":"https://api.github.com/users/valexa-stu/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T11:36:39Z","updated_at":"2016-04-02T11:36:39Z","body":"Using my newly acquired Ruby skills (about an hour of digging), I've narrowed it down to the basic.rb file in the Thor package (https://github.com/erikhuda/thor). At line 204 there's it reads:\r\n\r\nstdout.puts sentence\r\n\r\nIf I replace this with:\r\n\r\nsay sentence\r\n\r\nthen it works fine with pipe (at least on MacOSX).\r\n\r\nSo, I've ended up adding a customised print_table to stream.rb in this package.\r\n\r\nMaybe somebody here who has more than an hour of Ruby experience could figure out the best way of fixing this, but in the meantime I have timeline streaming and pipes running just fine with the above hack."}}