{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/1579","repository_url":"https://api.github.com/repos/chocolatey/choco","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/1579/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/1579/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/1579/events","html_url":"https://github.com/chocolatey/choco/issues/1579","id":324748445,"number":1579,"title":"FEATURE REQUEST: make Chocolatey multiple instance friendly","user":{"login":"bcurran3","id":14026600,"avatar_url":"https://avatars2.githubusercontent.com/u/14026600?v=4","gravatar_id":"","url":"https://api.github.com/users/bcurran3","html_url":"https://github.com/bcurran3","followers_url":"https://api.github.com/users/bcurran3/followers","following_url":"https://api.github.com/users/bcurran3/following{/other_user}","gists_url":"https://api.github.com/users/bcurran3/gists{/gist_id}","starred_url":"https://api.github.com/users/bcurran3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcurran3/subscriptions","organizations_url":"https://api.github.com/users/bcurran3/orgs","repos_url":"https://api.github.com/users/bcurran3/repos","events_url":"https://api.github.com/users/bcurran3/events{/privacy}","received_events_url":"https://api.github.com/users/bcurran3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-20T22:33:28Z","updated_at":"2018-05-24T12:12:43Z","closed_at":null,"author_association":"NONE","body":"RE: https://groups.google.com/forum/#!topic/chocolatey/GRJrv99RwK8\r\n\r\n### What You Are Seeing?\r\n\r\nAttempting to run multiple concurrent instances of choco.exe can cause choco to become \"confused.\" \r\n\r\nIn the past when I've attempted to run Chocolatey commands in two different administrative consoles on the same computer, I've bumped into problems. Not always, but often. Depends on what I'm trying to do. Not certain, but pretty sure it's always a Chocolatey licensed edition (I run Pro) package synchronization related issue. Though I encounter this issue specifically due to the licensed edition package synchronization feature, I believe this request would benefit Chocolatey globally in all editions.\r\n\r\n### What is Expected?\r\n\r\nFor choco.exe to check for another instance of itself and pause so no unexpected/unwanted behavior occurs. choco.exe could display a message such as \"Pausing, another instance of choco.exe is running.\" or \"Pausing, waiting for another instance of choco.exe to finish.\" then loop until the other instance is finished. A default timeout such as 5 minutes could be built in or a new configurable feature created and used to abort.\r\n\r\n### How Did You Get This To Happen? (Steps to Reproduce)\r\n\r\nHere's a real world test done 5 minutes ago:\r\n\r\nI opened up two Command Prompts with administrative rights. I arranged them so I could easily see them and access them fast. I typed \"cinst atom\" in one and \"cinst git\" in the other. I hit enter on both within a half second of each other. Both start installing. Atom finishes first while git takes longer being a meta package and having to download more packages. Atom finishes. While git.install is still installing, I attempt a \"choco uninstall atom,\" subsequently many warnings ensue.\r\n\r\n![image](https://user-images.githubusercontent.com/14026600/40284236-e0dd64a6-5c40-11e8-80c4-04f51a68a220.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chocolatey/choco/issues/comments/391691569","html_url":"https://github.com/chocolatey/choco/issues/1579#issuecomment-391691569","issue_url":"https://api.github.com/repos/chocolatey/choco/issues/1579","id":391691569,"user":{"login":"bcurran3","id":14026600,"avatar_url":"https://avatars2.githubusercontent.com/u/14026600?v=4","gravatar_id":"","url":"https://api.github.com/users/bcurran3","html_url":"https://github.com/bcurran3","followers_url":"https://api.github.com/users/bcurran3/followers","following_url":"https://api.github.com/users/bcurran3/following{/other_user}","gists_url":"https://api.github.com/users/bcurran3/gists{/gist_id}","starred_url":"https://api.github.com/users/bcurran3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcurran3/subscriptions","organizations_url":"https://api.github.com/users/bcurran3/orgs","repos_url":"https://api.github.com/users/bcurran3/repos","events_url":"https://api.github.com/users/bcurran3/events{/privacy}","received_events_url":"https://api.github.com/users/bcurran3/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T12:12:43Z","updated_at":"2018-05-24T12:12:43Z","author_association":"NONE","body":"For anyone interested in choco being multiple instance friendly...\r\n\r\nI've created this helper until such time:\r\nhttps://chocolatey.org/packages/chocolatey-preinstaller-checks.extension\r\n\r\nIt's currently PRE-release. I have a little more work to do. Feedback welcome.\r\n\r\n![chocolatey-preinstaller-checks extension_screenshot](https://user-images.githubusercontent.com/14026600/40484611-0b8a2914-5f11-11e8-8d6c-5b4691de3f34.png)\r\n"}}
{"actor":{"display_login":"bcurran3"}}