Relocated if (output) check in ProcessService.cs to be inside the ReadStream() method. This works around a platform difference in how Windows appears to evaluate streams before a process completes.
Update .net to 6.0.402
How's this tested?
Run any gh valet (e.g. gh valet audit) command on Windows, Linux, and MacOS and verify that the command completes and is the same and output is shown on all 3 platforms.
What's changing?
if (output)
check inProcessService.cs
to be inside theReadStream()
method. This works around a platform difference in how Windows appears to evaluate streams before a process completes.How's this tested?
Run any
gh valet
(e.g. gh valet audit) command on Windows, Linux, and MacOS and verify that the command completes and is the same and output is shown on all 3 platforms.