chocolatey / chocolatey/choco

Ensure only one choco process runs at a time

Open
#683 4 comments 0 reactions 0 assignees View on GitHub
0 - Backlog Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

Multiple running choco processes could potentially cause issues. Look for other choco.exes running (that are not a shim) and report that it cannot run if those are running.

This will not handle the cases where choco dll is embedded and/or being used in things like BoxStarter and ChocolateyGUI. But it should limit most issues.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing choco.exe startup and how the application identifies shim processes, then inspect how running processes can be detected and reported. Done means a normal choco process refuses to run when another non-shim choco.exe is active, while the stated embedded-DLL cases remain outside scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.