{"action":"created","issue":{"url":"https://api.github.com/repos/puniverse/capsule/issues/60","labels_url":"https://api.github.com/repos/puniverse/capsule/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/puniverse/capsule/issues/60/comments","events_url":"https://api.github.com/repos/puniverse/capsule/issues/60/events","html_url":"https://github.com/puniverse/capsule/issues/60","id":58943987,"number":60,"title":"Terminating app on Windows behaves differently than Linux","user":{"login":"gitblit","id":868217,"avatar_url":"https://avatars.githubusercontent.com/u/868217?v=3","gravatar_id":"","url":"https://api.github.com/users/gitblit","html_url":"https://github.com/gitblit","followers_url":"https://api.github.com/users/gitblit/followers","following_url":"https://api.github.com/users/gitblit/following{/other_user}","gists_url":"https://api.github.com/users/gitblit/gists{/gist_id}","starred_url":"https://api.github.com/users/gitblit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitblit/subscriptions","organizations_url":"https://api.github.com/users/gitblit/orgs","repos_url":"https://api.github.com/users/gitblit/repos","events_url":"https://api.github.com/users/gitblit/events{/privacy}","received_events_url":"https://api.github.com/users/gitblit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"circlespainter","id":6113296,"avatar_url":"https://avatars.githubusercontent.com/u/6113296?v=3","gravatar_id":"","url":"https://api.github.com/users/circlespainter","html_url":"https://github.com/circlespainter","followers_url":"https://api.github.com/users/circlespainter/followers","following_url":"https://api.github.com/users/circlespainter/following{/other_user}","gists_url":"https://api.github.com/users/circlespainter/gists{/gist_id}","starred_url":"https://api.github.com/users/circlespainter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/circlespainter/subscriptions","organizations_url":"https://api.github.com/users/circlespainter/orgs","repos_url":"https://api.github.com/users/circlespainter/repos","events_url":"https://api.github.com/users/circlespainter/events{/privacy}","received_events_url":"https://api.github.com/users/circlespainter/received_events","type":"User","site_admin":false},"milestone":null,"comments":34,"created_at":"2015-02-25T18:02:43Z","updated_at":"2015-08-14T14:14:00Z","closed_at":null,"body":"<kbd>ctrl-c</kbd> on Linux gracefully terminates both JVMs and my app.\r\n<kbd>ctrl-c</kbd> on Windows CMD prompt terminates both JVMs but not gracefully AFAICS.\r\n\r\nMy app has a JVM shutdown hook that produces many log lines.  Intermittently I see the first log entry so perhaps Capsule shutdown is too aggressive?  My app might be shutting down gracefully but silently, not sure.\r\n\r\nAs a lesser issue, <kbd>ctrl-c</kbd> on Windows Babun/zsh/Cygwin terminates the Capsule JVM but leaves the app JVM orphaned & running."},"comment":{"url":"https://api.github.com/repos/puniverse/capsule/issues/comments/131118022","html_url":"https://github.com/puniverse/capsule/issues/60#issuecomment-131118022","issue_url":"https://api.github.com/repos/puniverse/capsule/issues/60","id":131118022,"user":{"login":"circlespainter","id":6113296,"avatar_url":"https://avatars.githubusercontent.com/u/6113296?v=3","gravatar_id":"","url":"https://api.github.com/users/circlespainter","html_url":"https://github.com/circlespainter","followers_url":"https://api.github.com/users/circlespainter/followers","following_url":"https://api.github.com/users/circlespainter/following{/other_user}","gists_url":"https://api.github.com/users/circlespainter/gists{/gist_id}","starred_url":"https://api.github.com/users/circlespainter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/circlespainter/subscriptions","organizations_url":"https://api.github.com/users/circlespainter/orgs","repos_url":"https://api.github.com/users/circlespainter/repos","events_url":"https://api.github.com/users/circlespainter/events{/privacy}","received_events_url":"https://api.github.com/users/circlespainter/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T14:14:00Z","updated_at":"2015-08-14T14:14:00Z","body":"Also, this fix requires `master`'s tip capsule, which has version `1.0-rc2-SNAPSHOT` (you were mentioning rc1). The logging about the communication being setup for the clean closing should happen even before hitting CTRL+C."}}