Open3
PowerShellの進捗表示
Visual StudioのDeveloper PowerShell内でCompress-Archiveコマンドを実行すると,エラーが発生する
Write-Progress : インデックスが配列の境界外です。out-lineoutput : インデックスが配列の境界外です。
+ CategoryInfo : NotSpecified: (:) [out-lineoutput], IndexOutOfRangeException
+ FullyQualifiedErrorId : System.IndexOutOfRangeException,Microsoft.PowerShell.Commands.OutLineOutputCommand
進捗表示が原因なので,$global:ProgressPreference = "SilentlyContinue"
で進捗表示を抑制する.