microsoft / microsoft/winget-cli

Allow closing processes before upgrading

Open
#3,802 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Manifest Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

Add fields in the installer schema to specify process names that will need to be closed before upgrading the package. Many programs such as Discord and Epic Games Launcher will auto-start after being installed, and closing them would enable unattended installation.

Proposed technical implementation details

Could send a kill code of 0 to the process to check if it exists

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or specific entry points are named. Start by locating the installer schema and the upgrade flow, then determine how declared process names should be checked and closed before installation; done means unattended upgrades can close specified running processes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.