{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/7426","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/7426/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/7426/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/7426/events","html_url":"https://github.com/dotnet/cli/issues/7426","id":249803506,"node_id":"MDU6SXNzdWUyNDk4MDM1MDY=","number":7426,"title":"terminating `dotnet run` doesn't terminate child","user":{"login":"mickaelistria","id":469058,"node_id":"MDQ6VXNlcjQ2OTA1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/469058?v=4","gravatar_id":"","url":"https://api.github.com/users/mickaelistria","html_url":"https://github.com/mickaelistria","followers_url":"https://api.github.com/users/mickaelistria/followers","following_url":"https://api.github.com/users/mickaelistria/following{/other_user}","gists_url":"https://api.github.com/users/mickaelistria/gists{/gist_id}","starred_url":"https://api.github.com/users/mickaelistria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickaelistria/subscriptions","organizations_url":"https://api.github.com/users/mickaelistria/orgs","repos_url":"https://api.github.com/users/mickaelistria/repos","events_url":"https://api.github.com/users/mickaelistria/events{/privacy}","received_events_url":"https://api.github.com/users/mickaelistria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"livarcocc","id":367554,"node_id":"MDQ6VXNlcjM2NzU1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/367554?v=4","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"assignees":[{"login":"livarcocc","id":367554,"node_id":"MDQ6VXNlcjM2NzU1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/367554?v=4","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/14","html_url":"https://github.com/dotnet/cli/milestone/14","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/14/labels","id":2129009,"node_id":"MDk6TWlsZXN0b25lMjEyOTAwOQ==","number":14,"title":"Discussion","description":"Milestone for tracking non-actionable discussion items. ","creator":{"login":"TheRealPiotrP","id":2379589,"node_id":"MDQ6VXNlcjIzNzk1ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/2379589?v=4","gravatar_id":"","url":"https://api.github.com/users/TheRealPiotrP","html_url":"https://github.com/TheRealPiotrP","followers_url":"https://api.github.com/users/TheRealPiotrP/followers","following_url":"https://api.github.com/users/TheRealPiotrP/following{/other_user}","gists_url":"https://api.github.com/users/TheRealPiotrP/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRealPiotrP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRealPiotrP/subscriptions","organizations_url":"https://api.github.com/users/TheRealPiotrP/orgs","repos_url":"https://api.github.com/users/TheRealPiotrP/repos","events_url":"https://api.github.com/users/TheRealPiotrP/events{/privacy}","received_events_url":"https://api.github.com/users/TheRealPiotrP/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":346,"state":"open","created_at":"2016-11-11T09:49:39Z","updated_at":"2018-10-26T16:48:22Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2017-08-12T10:18:22Z","updated_at":"2018-10-29T15:11:08Z","closed_at":null,"author_association":"NONE","body":"## Steps to reproduce\r\n\r\n```\r\n[Terminal 1]\r\n$ dotnet new razor\r\n$ dotnet run\r\nHosting environment: Production\r\nContent root path: /home/mistria/runtime-EclipseApplication/tst\r\nNow listening on: http://localhost:5000\r\nApplication started. Press Ctrl+C to shut down.\r\n[Terminal 2]\r\n$ ps aux | grep dotnet\r\nmistria  24040  2.2  0.7 3296988 88604 pts/0   SLl+ 12:07   0:01 dotnet run\r\nmistria  24143  1.1  0.5 21300684 71156 pts/0  SLl+ 12:07   0:00 dotnet exec /home/mistria/runtime-EclipseApplication/tst/bin/Debug/netcoreapp2.0/tst.dll\r\n$ kill -15 24040 #SIGTERM on host\r\n$ ps aux | grep dotnet\r\nmistria  24143  1.1  0.5 21300684 71156 pts/0  SLl+ 12:07   0:00 dotnet exec /home/mistria/runtime-EclipseApplication/tst/bin/Debug/netcoreapp2.0/tst.dll\r\n# child still there like a zombie\r\n```\r\n\r\n## Expected  behavior\r\n\r\nChild process terminated\r\n\r\n## Actual behavior\r\n\r\nChild process is still there\r\nThis can be confusing for IDEs (like Eclipse IDE) which bind the \"stop\" button and other UI actions to the Terminate signal. In such case, the developer trying `dotnet run` from the IDE will face issues because of the zombi-ish processes\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n```\r\n.NET Command Line Tools (2.0.1-servicing-006924)\r\n\r\nProduct Information:\r\n Version:            2.0.1-servicing-006924\r\n Commit SHA-1 hash:  1ed6be56ca\r\n\r\nRuntime Environment:\r\n OS Name:     fedora\r\n OS Version:  26\r\n OS Platform: Linux\r\n RID:         fedora.26-x64\r\n Base Path:   /home/mistria/apps/dotnet-2/sdk/2.0.1-servicing-006924/\r\n\r\nMicrosoft .NET Core Shared Framework Host\r\n\r\n  Version  : 2.0.0\r\n  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d\r\n```\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/433947791","html_url":"https://github.com/dotnet/cli/issues/7426#issuecomment-433947791","issue_url":"https://api.github.com/repos/dotnet/cli/issues/7426","id":433947791,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzk0Nzc5MQ==","user":{"login":"livarcocc","id":367554,"node_id":"MDQ6VXNlcjM2NzU1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/367554?v=4","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T15:11:08Z","updated_at":"2018-10-29T15:11:08Z","author_association":"MEMBER","body":"If closing a asp.net app is not terminating the process, I believe this is an issue that should be investigated by the ASP.NET team. Please, file a new issue on aspnet/home.\r\n\r\nAnother possibility is that dotnet has three long running processes that stay around to help with inner loop performance: roslyn, msbuild and razor. You can terminate these processes by running `dotnet build-server shutdown`."}}
{"actor":{"display_login":"livarcocc"}}