Possible deadlock in Utility::ExecuteProcess()
Open
- Dominant language
- C#
- Stars
- 160
- Forks
- 69
- Avg merge
- 1h 56m
- Merged PRs (30d)
- 1
Description
https://github.com/dotnet/jitutils/blob/fdf42eaa08fad997c56d8da50f4300a6c4353b12/src/util/util.cs#L239-L240
According to the [documentation](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.standardoutput?redirectedfrom=MSDN&view=net-5.0#System_Diagnostics_Process_StandardOutput), calling `process.StandardOutput.ReadToEnd()` followed by `process.StandardError.ReadToEnd()` can lead to deadlock.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.