Skip to content

Write-Progress bar does not go away after operation is finished #1625

@yutingc

Description

@yutingc

Steps to reproduce

PS /tmp> install-module -RequiredVersion 0.2.16.1 -Repository galleryrolling         

cmdlet Install-Module at command pipeline position 1
Supply values for the following parameters:
Name: xjea

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this 
repository, change its InstallationPolicy value by running the Set-PSRepository 
cmdlet. Are you sure you want to install the modules from 'galleryrolling'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help 
(default is "N"):y
                                                                                     PS /tmp> talling package 'xJea'                                                               Finish installing package 'xJea'                                                     [ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]

Expected behavior

progress bar should disappear after module is installed

Actual behavior

progress bar still shows up

Environment data

Ubuntu

PS /tmp> $psversiontable  
Name                           Value                                                      

---

PSVersion                      5.1.10032.0  
PSEdition                      PowerShellCore  
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}  
BuildVersion                   3.0.0.0  
GitCommitId                    v6.0.0-alpha.7  
CLRVersion  
WSManStackVersion              3.0  
PSRemotingProtocolVersion      2.3  
SerializationVersion           1.1.0.1                

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions