{"action":"closed","issue":{"url":"https://api.github.com/repos/vektah/gorunpkg/issues/4","repository_url":"https://api.github.com/repos/vektah/gorunpkg","labels_url":"https://api.github.com/repos/vektah/gorunpkg/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/vektah/gorunpkg/issues/4/comments","events_url":"https://api.github.com/repos/vektah/gorunpkg/issues/4/events","html_url":"https://github.com/vektah/gorunpkg/issues/4","id":371713236,"node_id":"MDU6SXNzdWUzNzE3MTMyMzY=","number":4,"title":"Passthrough is stopped before flushing output","user":{"login":"JonLundy","id":821826,"node_id":"MDQ6VXNlcjgyMTgyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/821826?v=4","gravatar_id":"","url":"https://api.github.com/users/JonLundy","html_url":"https://github.com/JonLundy","followers_url":"https://api.github.com/users/JonLundy/followers","following_url":"https://api.github.com/users/JonLundy/following{/other_user}","gists_url":"https://api.github.com/users/JonLundy/gists{/gist_id}","starred_url":"https://api.github.com/users/JonLundy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonLundy/subscriptions","organizations_url":"https://api.github.com/users/JonLundy/orgs","repos_url":"https://api.github.com/users/JonLundy/repos","events_url":"https://api.github.com/users/JonLundy/events{/privacy}","received_events_url":"https://api.github.com/users/JonLundy/received_events","type":"User","site_admin":false},"labels":[{"id":692060244,"node_id":"MDU6TGFiZWw2OTIwNjAyNDQ=","url":"https://api.github.com/repos/vektah/gorunpkg/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-18T21:05:40Z","updated_at":"2018-10-21T09:07:55Z","closed_at":"2018-10-21T09:07:55Z","author_association":"CONTRIBUTOR","body":"When a command completes it stops execution before writing standard out is complete.\r\n\r\nMinimal repeatable code:\r\n```\r\npackage main\r\n\r\nimport \"fmt\"\r\n\r\nfunc main() {\r\n    for i:=0; i<5000; i++ {\r\n        fmt.Println(\"TEXT TEXT TEXT TEXT TEXT\", i)\r\n        fmt.Println(\"TEXT TEXT TEXT TEXT TEXT\", i)\r\n        fmt.Println(\"TEXT TEXT TEXT TEXT TEXT\", i)\r\n        fmt.Println(\"TEXT TEXT TEXT TEXT TEXT\", i)\r\n    }\r\n    fmt.Println(\"DONE\")\r\n}\r\n```\r\nThis should output up to 4999 but on repeated runs will randomly end at different values. "}}
{"actor":{"display_login":"vektah"}}