{"action":"opened","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/264","labels_url":"https://api.github.com/repos/lxc/lxd/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/264/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/264/events","html_url":"https://github.com/lxc/lxd/issues/264","id":58976813,"number":264,"title":"Piping a command to \"lxc exec container /bin/sh\" doesn't behave as it should","user":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lxc/lxd/labels/Bug","name":"Bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"tych0","id":785111,"avatar_url":"https://avatars.githubusercontent.com/u/785111?v=3","gravatar_id":"","url":"https://api.github.com/users/tych0","html_url":"https://github.com/tych0","followers_url":"https://api.github.com/users/tych0/followers","following_url":"https://api.github.com/users/tych0/following{/other_user}","gists_url":"https://api.github.com/users/tych0/gists{/gist_id}","starred_url":"https://api.github.com/users/tych0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tych0/subscriptions","organizations_url":"https://api.github.com/users/tych0/orgs","repos_url":"https://api.github.com/users/tych0/repos","events_url":"https://api.github.com/users/tych0/events{/privacy}","received_events_url":"https://api.github.com/users/tych0/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/lxc/lxd/milestones/2","html_url":"https://github.com/lxc/lxd/milestones/lxd-0.2","labels_url":"https://api.github.com/repos/lxc/lxd/milestones/2/labels","id":881821,"number":2,"title":"lxd-0.2","description":"","creator":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":19,"state":"open","created_at":"2014-11-26T19:41:02Z","updated_at":"2015-02-25T21:58:15Z","due_on":"2015-02-25T05:00:00Z","closed_at":null},"comments":0,"created_at":"2015-02-25T21:58:15Z","updated_at":"2015-02-25T21:58:15Z","closed_at":null,"body":"While piping to cat through lxc exec works as expected (prints the input then exits), piping to a shell doesn't.\r\n\r\nIn some cases it executes the piped command just fine but then gives me an interactive prompt (without stdin connected) while in some others it gets me some garbled output that's a mix of an error \"Cannot set tty process group (No such process)\" and bunch of # and the output of the command."}}