{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1431","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1431/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1431/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1431/events","html_url":"https://github.com/fish-shell/fish-shell/issues/1431","id":32282279,"number":1431,"title":"Can't capture command output","user":{"login":"danielmatz","id":5893683,"avatar_url":"https://avatars.githubusercontent.com/u/5893683?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmatz","html_url":"https://github.com/danielmatz","followers_url":"https://api.github.com/users/danielmatz/followers","following_url":"https://api.github.com/users/danielmatz/following{/other_user}","gists_url":"https://api.github.com/users/danielmatz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmatz/subscriptions","organizations_url":"https://api.github.com/users/danielmatz/orgs","repos_url":"https://api.github.com/users/danielmatz/repos","events_url":"https://api.github.com/users/danielmatz/events{/privacy}","received_events_url":"https://api.github.com/users/danielmatz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestones/fish-future","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are bugs that are not targeted for an upcoming release. After a release, we will reexamine these bugs and pull any in that we think are good targets.\r\n\r\nIf you can provide a fix for a bug in this milestone, we'll generally accept it for the next release even if the bug is not in the release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":445,"closed_issues":85,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2015-07-16T03:55:06Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-04-26T05:12:49Z","updated_at":"2015-07-16T03:55:06Z","closed_at":"2015-07-16T03:55:06Z","body":"I'm having a really strange issue.  I'm using the tool Fabric (http://www.fabfile.org) on Mac OS X.  I am trying to build a completion file for it.  So I use the following command:\r\n\r\n```\r\nfab --shortlist --hide everything --show stdout\r\n```\r\n\r\nWhich prints out a list of the available build targets.\r\n\r\nHowever, if I instead try to do:\r\n\r\n```\r\necho (fab --shortlist --hide everything --show stdout)\r\n```\r\n\r\nNothing prints out!  And then I notice that the command in `()` has become a background job.  But I can't bring it to the foreground, I can only kill it.\r\n\r\nI've tried the same thing in bash, and it works fine.  Any ideas?\r\n\r\nThanks!\r\n\r\nDaniel"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/121821204","html_url":"https://github.com/fish-shell/fish-shell/issues/1431#issuecomment-121821204","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1431","id":121821204,"user":{"login":"danielmatz","id":5893683,"avatar_url":"https://avatars.githubusercontent.com/u/5893683?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmatz","html_url":"https://github.com/danielmatz","followers_url":"https://api.github.com/users/danielmatz/followers","following_url":"https://api.github.com/users/danielmatz/following{/other_user}","gists_url":"https://api.github.com/users/danielmatz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmatz/subscriptions","organizations_url":"https://api.github.com/users/danielmatz/orgs","repos_url":"https://api.github.com/users/danielmatz/repos","events_url":"https://api.github.com/users/danielmatz/events{/privacy}","received_events_url":"https://api.github.com/users/danielmatz/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T03:55:06Z","updated_at":"2015-07-16T03:55:06Z","body":"I just repeated the steps I explained in my original post, and everything seemed to work fine.  I'll close the issue."}}