{"action":"created","issue":{"url":"https://api.github.com/repos/apocas/dockerode/issues/162","labels_url":"https://api.github.com/repos/apocas/dockerode/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/apocas/dockerode/issues/162/comments","events_url":"https://api.github.com/repos/apocas/dockerode/issues/162/events","html_url":"https://github.com/apocas/dockerode/pull/162","id":95972740,"number":162,"title":"allow exec.start return a text response","user":{"login":"summershrimp","id":10265470,"avatar_url":"https://avatars.githubusercontent.com/u/10265470?v=3","gravatar_id":"","url":"https://api.github.com/users/summershrimp","html_url":"https://github.com/summershrimp","followers_url":"https://api.github.com/users/summershrimp/followers","following_url":"https://api.github.com/users/summershrimp/following{/other_user}","gists_url":"https://api.github.com/users/summershrimp/gists{/gist_id}","starred_url":"https://api.github.com/users/summershrimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summershrimp/subscriptions","organizations_url":"https://api.github.com/users/summershrimp/orgs","repos_url":"https://api.github.com/users/summershrimp/repos","events_url":"https://api.github.com/users/summershrimp/events{/privacy}","received_events_url":"https://api.github.com/users/summershrimp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T02:51:35Z","updated_at":"2015-07-20T09:31:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apocas/dockerode/pulls/162","html_url":"https://github.com/apocas/dockerode/pull/162","diff_url":"https://github.com/apocas/dockerode/pull/162.diff","patch_url":"https://github.com/apocas/dockerode/pull/162.patch"},"body":"sometimes we just need exec a executable file and get string response, but exec.start always return a stream object"},"comment":{"url":"https://api.github.com/repos/apocas/dockerode/issues/comments/122824019","html_url":"https://github.com/apocas/dockerode/pull/162#issuecomment-122824019","issue_url":"https://api.github.com/repos/apocas/dockerode/issues/162","id":122824019,"user":{"login":"apocas","id":597413,"avatar_url":"https://avatars.githubusercontent.com/u/597413?v=3","gravatar_id":"","url":"https://api.github.com/users/apocas","html_url":"https://github.com/apocas","followers_url":"https://api.github.com/users/apocas/followers","following_url":"https://api.github.com/users/apocas/following{/other_user}","gists_url":"https://api.github.com/users/apocas/gists{/gist_id}","starred_url":"https://api.github.com/users/apocas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apocas/subscriptions","organizations_url":"https://api.github.com/users/apocas/orgs","repos_url":"https://api.github.com/users/apocas/repos","events_url":"https://api.github.com/users/apocas/events{/privacy}","received_events_url":"https://api.github.com/users/apocas/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T09:31:18Z","updated_at":"2015-07-20T09:31:18Z","body":"This does not comply with the rest of dockerode spec, dockerode is stream oriented allowing you to build whatever you want on top of it :)\r\n\r\nHave you tried using the helper function \"followProgress\"?\r\nIt allows you to get a callback with the data in the end just like you want, check the documentation and example below.\r\n\r\nhttps://github.com/apocas/dockerode#helper-functions\r\nhttps://github.com/apocas/dockerode/blob/master/test/docker.js#L169"}}