{"action":"created","issue":{"url":"https://api.github.com/repos/shelljs/shelljs/issues/165","labels_url":"https://api.github.com/repos/shelljs/shelljs/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/shelljs/shelljs/issues/165/comments","events_url":"https://api.github.com/repos/shelljs/shelljs/issues/165/events","html_url":"https://github.com/shelljs/shelljs/issues/165","id":47786964,"number":165,"title":"Not all output is being displayed","user":{"login":"Globegitter","id":2580254,"avatar_url":"https://avatars.githubusercontent.com/u/2580254?v=3","gravatar_id":"","url":"https://api.github.com/users/Globegitter","html_url":"https://github.com/Globegitter","followers_url":"https://api.github.com/users/Globegitter/followers","following_url":"https://api.github.com/users/Globegitter/following{/other_user}","gists_url":"https://api.github.com/users/Globegitter/gists{/gist_id}","starred_url":"https://api.github.com/users/Globegitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Globegitter/subscriptions","organizations_url":"https://api.github.com/users/Globegitter/orgs","repos_url":"https://api.github.com/users/Globegitter/repos","events_url":"https://api.github.com/users/Globegitter/events{/privacy}","received_events_url":"https://api.github.com/users/Globegitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-05T00:53:17Z","updated_at":"2015-10-08T09:11:28Z","closed_at":null,"body":"I don't know why exactly, but if I run an async `exec` command `fig up`, from https://github.com/docker/fig it does not display all of the output.\r\nDon't know how I can help with any more detail, but it is when it logs the output from the docker containers.\r\nIf there is any other way I can help nailing down the specifics of this bug, let me know.\r\n(silent is false of course)"},"comment":{"url":"https://api.github.com/repos/shelljs/shelljs/issues/comments/146465902","html_url":"https://github.com/shelljs/shelljs/issues/165#issuecomment-146465902","issue_url":"https://api.github.com/repos/shelljs/shelljs/issues/165","id":146465902,"user":{"login":"TimothyGu","id":1538624,"avatar_url":"https://avatars.githubusercontent.com/u/1538624?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyGu","html_url":"https://github.com/TimothyGu","followers_url":"https://api.github.com/users/TimothyGu/followers","following_url":"https://api.github.com/users/TimothyGu/following{/other_user}","gists_url":"https://api.github.com/users/TimothyGu/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyGu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyGu/subscriptions","organizations_url":"https://api.github.com/users/TimothyGu/orgs","repos_url":"https://api.github.com/users/TimothyGu/repos","events_url":"https://api.github.com/users/TimothyGu/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyGu/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T09:11:28Z","updated_at":"2015-10-08T09:11:28Z","body":"I don't think this is a problem with shell.js. Git does some sketchy tricks with detecting if the stderr stream is a terminal or not. Try this:\r\n\r\n```\r\n$ git clone https://github.com/jakub-g/empty-repo.git 2>&1 | cat\r\nCloning into 'empty-repo'...\r\n$\r\n```\r\n\r\nGit only seems to print the first line if the stderr is connected to a terminal, which in this case is not true (stderr → stdout → cat).\r\n\r\nI haven't checked docker but I suspect it is a similar case."}}