PowerShell module doesn't cancel download & installation with Ctrl-C #4961
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
PowerShell
Issue related to WinGet PowerShell Module or cmdlet
Brief description of your issue
When I press Ctrl + C, I expect that the package download & installation would be cancelled by PowerShell module. That is not the case as both continue silently in the background without user's knowledge. The
svchost
process continues to download the file and the module initiates the usual installation flow after the download finishes. Observe in the short 40sec video below (the video is sped up):Vide2o.mp4
Steps to reproduce
Try an
Upgrade-WinGetPackage
command and pressCtrl + C
when the package is being downloadedExpected behavior
Package download and installation to be cancelled
Actual behavior
Download and installation continues as normal
Environment
The text was updated successfully, but these errors were encountered: