{"action":"closed","issue":{"url":"https://api.github.com/repos/warner/magic-wormhole/issues/108","repository_url":"https://api.github.com/repos/warner/magic-wormhole","labels_url":"https://api.github.com/repos/warner/magic-wormhole/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/warner/magic-wormhole/issues/108/comments","events_url":"https://api.github.com/repos/warner/magic-wormhole/issues/108/events","html_url":"https://github.com/warner/magic-wormhole/issues/108","id":196241981,"number":108,"title":"wormhole send does not flush output when not connected to tty","user":{"login":"joeyh","id":16392,"avatar_url":"https://avatars.githubusercontent.com/u/16392?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyh","html_url":"https://github.com/joeyh","followers_url":"https://api.github.com/users/joeyh/followers","following_url":"https://api.github.com/users/joeyh/following{/other_user}","gists_url":"https://api.github.com/users/joeyh/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyh/subscriptions","organizations_url":"https://api.github.com/users/joeyh/orgs","repos_url":"https://api.github.com/users/joeyh/repos","events_url":"https://api.github.com/users/joeyh/events{/privacy}","received_events_url":"https://api.github.com/users/joeyh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-17T20:46:39Z","updated_at":"2016-12-18T01:34:32Z","closed_at":"2016-12-18T01:34:32Z","body":"When I run run wormhole send somefile | less, I see these lines of stderr:\r\n\r\nWarning: errors may occur unless both sides are running the same version\r\nServer claims 0.8.2 is current, but ours is 0.8.1\r\n\r\nAnd never any more output, until I press ctrl-c. Then the missing stdout finally gets displayed:\r\n\r\nSending 3 byte file named 'somefile'\r\nOn the other computer, please run: wormhole receive\r\nWormhole code is: 62-pandora-slowdown\r\n\r\nSame thing happens when redirecting to a file, or when trying to intercept wormhole send's output for scripting.\r\n\r\nIt is apparently not flushing stdout when not connected to a tty.\r\n\r\nThis has stymied my attempts to extract the wormhole code from wormhole send.\r\n(I suppose I could try to provide it with a pseudo-tty, and read what it outputs to the tty then but ...)"}}
{"actor":{"display_login":"warner"}}