{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1187","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1187/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1187/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1187/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1187","id":182083065,"number":1187,"title":"Unresponsive console window left behind after shell exit with disowned process","user":{"login":"cerebrate","id":371623,"avatar_url":"https://avatars.githubusercontent.com/u/371623?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebrate","html_url":"https://github.com/cerebrate","followers_url":"https://api.github.com/users/cerebrate/followers","following_url":"https://api.github.com/users/cerebrate/following{/other_user}","gists_url":"https://api.github.com/users/cerebrate/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebrate/subscriptions","organizations_url":"https://api.github.com/users/cerebrate/orgs","repos_url":"https://api.github.com/users/cerebrate/repos","events_url":"https://api.github.com/users/cerebrate/events{/privacy}","received_events_url":"https://api.github.com/users/cerebrate/received_events","type":"User","site_admin":false},"labels":[{"id":364736444,"url":"https://api.github.com/repos/Microsoft/BashOnWindows/labels/fixed","name":"fixed","color":"c2e0c6","default":false},{"id":364053977,"url":"https://api.github.com/repos/Microsoft/BashOnWindows/labels/fixinbound","name":"fixinbound","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-10T18:32:19Z","updated_at":"2016-12-05T22:14:01Z","closed_at":"2016-12-05T22:14:01Z","body":"This requires that multiple bash.exe instances be running, otherwise the disowned process is (intentionally) automatically terminated. Repro steps:\n1. Open a bash session.\n2. Create a long-running background job: `sleep 99999 &`\n3. Disown that job: `disown`\n4. Open a second bash session. `ps -aux` in this session should show both instances of bash, and the sleep command.\n5. Close the first session: `exit`\n- Expected results\n\nThe process having been disowned from the shell, the console window of first session should close. The process of disowned job should continue to be visible in the second session when `ps -aux` is run subsequently.\n- Actual results\n\nWhile bash exits within first session, console window of first session remains open, although unresponsive. This continues until process of disowned job terminates or is terminated with `kill`.\n- Your Windows build number\n\n14942\n"}}
{"actor":{"display_login":"russalex"}}