{"action":"created","issue":{"url":"https://api.github.com/repos/codeskyblue/go-sh/issues/12","repository_url":"https://api.github.com/repos/codeskyblue/go-sh","labels_url":"https://api.github.com/repos/codeskyblue/go-sh/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/codeskyblue/go-sh/issues/12/comments","events_url":"https://api.github.com/repos/codeskyblue/go-sh/issues/12/events","html_url":"https://github.com/codeskyblue/go-sh/issues/12","id":146104169,"number":12,"title":"It is possible to redirect output?","user":{"login":"dotzero","id":265633,"avatar_url":"https://avatars.githubusercontent.com/u/265633?v=3","gravatar_id":"","url":"https://api.github.com/users/dotzero","html_url":"https://github.com/dotzero","followers_url":"https://api.github.com/users/dotzero/followers","following_url":"https://api.github.com/users/dotzero/following{/other_user}","gists_url":"https://api.github.com/users/dotzero/gists{/gist_id}","starred_url":"https://api.github.com/users/dotzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotzero/subscriptions","organizations_url":"https://api.github.com/users/dotzero/orgs","repos_url":"https://api.github.com/users/dotzero/repos","events_url":"https://api.github.com/users/dotzero/events{/privacy}","received_events_url":"https://api.github.com/users/dotzero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-05T20:44:32Z","updated_at":"2016-04-28T07:43:48Z","closed_at":null,"body":"It is possible to redirect output? \r\n\r\nLike: `mysqldump dbname | gzip -9 > dump.sql.gz`\r\nOr stderr: `tar czf archive.tar.gz ./dir/ 2> /tmp/error.log`"},"comment":{"url":"https://api.github.com/repos/codeskyblue/go-sh/issues/comments/215337599","html_url":"https://github.com/codeskyblue/go-sh/issues/12#issuecomment-215337599","issue_url":"https://api.github.com/repos/codeskyblue/go-sh/issues/12","id":215337599,"user":{"login":"dotzero","id":265633,"avatar_url":"https://avatars.githubusercontent.com/u/265633?v=3","gravatar_id":"","url":"https://api.github.com/users/dotzero","html_url":"https://github.com/dotzero","followers_url":"https://api.github.com/users/dotzero/followers","following_url":"https://api.github.com/users/dotzero/following{/other_user}","gists_url":"https://api.github.com/users/dotzero/gists{/gist_id}","starred_url":"https://api.github.com/users/dotzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotzero/subscriptions","organizations_url":"https://api.github.com/users/dotzero/orgs","repos_url":"https://api.github.com/users/dotzero/repos","events_url":"https://api.github.com/users/dotzero/events{/privacy}","received_events_url":"https://api.github.com/users/dotzero/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T07:43:47Z","updated_at":"2016-04-28T07:43:47Z","body":"> Maybe implement a function called OutputFile is better?\r\n\r\nGood idea"}}