{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/3547","labels_url":"https://api.github.com/repos/neovim/neovim/issues/3547/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/3547/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/3547/events","html_url":"https://github.com/neovim/neovim/issues/3547","id":113846979,"number":3547,"title":"STDOUT redirection is completely broken","user":{"login":"Grimy","id":3199732,"avatar_url":"https://avatars.githubusercontent.com/u/3199732?v=3","gravatar_id":"","url":"https://api.github.com/users/Grimy","html_url":"https://github.com/Grimy","followers_url":"https://api.github.com/users/Grimy/followers","following_url":"https://api.github.com/users/Grimy/following{/other_user}","gists_url":"https://api.github.com/users/Grimy/gists{/gist_id}","starred_url":"https://api.github.com/users/Grimy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grimy/subscriptions","organizations_url":"https://api.github.com/users/Grimy/orgs","repos_url":"https://api.github.com/users/Grimy/repos","events_url":"https://api.github.com/users/Grimy/events{/privacy}","received_events_url":"https://api.github.com/users/Grimy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/5","html_url":"https://github.com/neovim/neovim/milestones/0.1-first-public-release","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/5/labels","id":652241,"number":5,"title":"0.1-first-public-release","description":"beta release, codename: \"whoa\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":114,"state":"open","created_at":"2014-05-07T21:37:18Z","updated_at":"2015-10-28T15:51:33Z","due_on":"2015-10-31T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-10-28T15:25:03Z","updated_at":"2015-10-28T17:06:12Z","closed_at":null,"body":"Redirecting STDOUT in nvim never works as expected, and occasionally dumps core. Here are a few samples; for all of these, vim works as expected (sometimes with warnings).\r\n\r\n*Command*: `nvim -u NONE +'helptags doc' +q >/dev/null 2>&1`\r\n*Expected behavior*: silently perform the helptags command, then quit\r\n*Actual behavior*: hang for a few seconds, then abort and dump core\r\n*Additional notes*: this is how I initially discovered this problem: I have this in a script\r\n\r\n*Command*: `nvim -u NONE >a 2>b`\r\n*Expected behavior*: run silently, filling the file `a` with control characters\r\n*Actual behavior*: hang for a few seconds, then abort and dump core\r\n*Additional notes*: this is a contrived, minimal example reproducing the core dump\r\n\r\n*Command*: `nvim -u NONE >/dev/null`\r\n*Expected behavior*: run silently\r\n*Actual behavior*: the TUI pops up\r\n*Additional notes*: this is extremely irritating"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/151911505","html_url":"https://github.com/neovim/neovim/issues/3547#issuecomment-151911505","issue_url":"https://api.github.com/repos/neovim/neovim/issues/3547","id":151911505,"user":{"login":"equalsraf","id":715238,"avatar_url":"https://avatars.githubusercontent.com/u/715238?v=3","gravatar_id":"","url":"https://api.github.com/users/equalsraf","html_url":"https://github.com/equalsraf","followers_url":"https://api.github.com/users/equalsraf/followers","following_url":"https://api.github.com/users/equalsraf/following{/other_user}","gists_url":"https://api.github.com/users/equalsraf/gists{/gist_id}","starred_url":"https://api.github.com/users/equalsraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalsraf/subscriptions","organizations_url":"https://api.github.com/users/equalsraf/orgs","repos_url":"https://api.github.com/users/equalsraf/repos","events_url":"https://api.github.com/users/equalsraf/events{/privacy}","received_events_url":"https://api.github.com/users/equalsraf/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T17:06:12Z","updated_at":"2015-10-28T17:06:12Z","body":"Went as far back as a412e72a2f5b1b1873546dfa23fe2c600b2da052 (Jul), still seeing this.\r\n\r\nOn the fixing front uv_tty_init() returned an error -EINVA, so I'm not quite sure are we are writing into, which is probably why that assert is triggered.\r\n\r\n"}}