{"action":"closed","issue":{"url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/231","repository_url":"https://api.github.com/repos/avocado-framework/avocado-vt","labels_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/231/comments","events_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/231/events","html_url":"https://github.com/avocado-framework/avocado-vt/issues/231","id":114821973,"number":231,"title":"session.cmd returns broken string when command is too long","user":{"login":"olavph","id":693694,"avatar_url":"https://avatars.githubusercontent.com/u/693694?v=3","gravatar_id":"","url":"https://api.github.com/users/olavph","html_url":"https://github.com/olavph","followers_url":"https://api.github.com/users/olavph/followers","following_url":"https://api.github.com/users/olavph/following{/other_user}","gists_url":"https://api.github.com/users/olavph/gists{/gist_id}","starred_url":"https://api.github.com/users/olavph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olavph/subscriptions","organizations_url":"https://api.github.com/users/olavph/orgs","repos_url":"https://api.github.com/users/olavph/repos","events_url":"https://api.github.com/users/olavph/events{/privacy}","received_events_url":"https://api.github.com/users/olavph/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2015-11-03T13:58:20Z","updated_at":"2016-11-18T16:59:25Z","closed_at":"2016-11-18T16:59:25Z","body":"When the command string passed to session.cmd exceeds ~60 characters, the returned string contains bits of the passed command and some seemingly random characters.\n\nBelow, I've sent the same command twice, the second time with extra white spaces, and I'm printing the returned string. There is an extra unwanted line before the actual command output.\n\n08:47:53 client           L1042 DEBUG| Sending command: echo 12345\n08:47:53 client           L1042 DEBUG| Sending command: echo $?\n08:47:53 test              L0029 INFO | Command output:\n12345\n\n08:47:53 client           L1042 DEBUG| Sending command: echo                                                   12345\n08:47:53 client           L1042 DEBUG| Sending command: echo $?\n08:47:53 test              L0033 INFO | Command output:\necho                                                   12<                                                12345\n12345\n"}}
{"actor":{"display_login":"ldoktor"}}