Closed iamfreid closed 3 years ago
@iamfreid thanks for reporting!
Is it possible that there is a sub-process being spawned that is not exiting? The most common cause of hangs I see when consuming process output is because a subprocess inherits the standard output pipe. This keeps the pipe open which means that our call to Read() never returns.
If it is possible to upload a small solution .zip file that replicates this using the latest dotnet test
, that would help in investigating!
Closing due to inactivity; feel free to reopen if you are able to provide more info.
output.txt I run dotnet test process, in case the console gets a lot of output, the process hangs. I tried to do RedirectTo (new FileInfo ("output.txt")) and saw that the file only weighs 8 kb, and the console output was cut by half
If I run any process where there is little output, everything works correctly
The hang may be due to a long process execution, about 10 seconds. It is assumed that processes up to one hour will be launched