Open BruceForstall opened 2 years ago
https://github.com/dotnet/jitutils/blob/fdf42eaa08fad997c56d8da50f4300a6c4353b12/src/util/util.cs#L239-L240
According to the documentation, calling process.StandardOutput.ReadToEnd() followed by process.StandardError.ReadToEnd() can lead to deadlock.
process.StandardOutput.ReadToEnd()
process.StandardError.ReadToEnd()
I fixed a similar issue in PMIDriver.cs in https://github.com/dotnet/jitutils/pull/252/ .
https://github.com/dotnet/jitutils/blob/fdf42eaa08fad997c56d8da50f4300a6c4353b12/src/util/util.cs#L239-L240
According to the documentation, calling
process.StandardOutput.ReadToEnd()
followed byprocess.StandardError.ReadToEnd()
can lead to deadlock.