{"action":"opened","issue":{"url":"https://api.github.com/repos/knipknap/exscript/issues/150","repository_url":"https://api.github.com/repos/knipknap/exscript","labels_url":"https://api.github.com/repos/knipknap/exscript/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/knipknap/exscript/issues/150/comments","events_url":"https://api.github.com/repos/knipknap/exscript/issues/150/events","html_url":"https://github.com/knipknap/exscript/issues/150","id":254190314,"number":150,"title":"Exscript does not return full output","user":{"login":"armartirosyan","id":7140657,"avatar_url":"https://avatars3.githubusercontent.com/u/7140657?v=4","gravatar_id":"","url":"https://api.github.com/users/armartirosyan","html_url":"https://github.com/armartirosyan","followers_url":"https://api.github.com/users/armartirosyan/followers","following_url":"https://api.github.com/users/armartirosyan/following{/other_user}","gists_url":"https://api.github.com/users/armartirosyan/gists{/gist_id}","starred_url":"https://api.github.com/users/armartirosyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armartirosyan/subscriptions","organizations_url":"https://api.github.com/users/armartirosyan/orgs","repos_url":"https://api.github.com/users/armartirosyan/repos","events_url":"https://api.github.com/users/armartirosyan/events{/privacy}","received_events_url":"https://api.github.com/users/armartirosyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-31T02:23:25Z","updated_at":"2017-08-31T02:23:25Z","closed_at":null,"author_association":"NONE","body":"I have a simple script (below) which should return an output from a simple show command but instead I am getting the one line of the output or no output at all.\r\n\r\n```\r\n>>> from Exscript.protocols import *\r\n\r\n>>> conn = SSH2()\r\n>>> conn.connect(\"192.168.0.1\")\r\n>>> conn.login(Account(\"username\", \"password\"))\r\n>>> conn.send(\"\\r\")\r\n>>> conn.response\r\nu'--- JUNOS 13.2R7.5 built 2015-02-12 11:55:28 UTC'\r\n>>> conn.execute(\"\\r\")\r\n(0, <_sre.SRE_Match object at 0x7f6bd4707440>)\r\n>>> conn.response\r\nu''\r\n>>> conn.execute(\"show version\")\r\n(0, <_sre.SRE_Match object at 0x7f6bd4707440>)\r\n>>> conn.response\r\nu'\\r\\n\\r\\n{master}\\r\\username@S1> '\r\n```\r\n\r\nAny help is greatly appreciated! "}}
{"actor":{"display_login":"armartirosyan"}}