RamblingCookieMonster / BuildHelpers

Helper functions for PowerShell CI/CD scenarios
MIT License
214 stars 47 forks source link

Fixes #86 - Deadlock when the last commit message is greater than 4096 bytes #130

Open joshooaj opened 2 years ago

joshooaj commented 2 years ago

I made this fix before I discovered the issue was reported already in #86 and a solution was offered by @lipkau in #91.

Sharing here as a PR in case it's useful to anyone else. My approach was was to modify the use of System.Diagnostics.Process to resolve the deadlock where @lipkau's approach was to replace System.Diagnostics.Process with the call operator & and to redirect the error stream.