Brian Mitchell

Results 3 comments of Brian Mitchell

Looks like its stuck on this lin in the FromURL method process.WaitForExit(); the process is never updated that it's finished, it seems to do this on large HTML pages

A colleague found this for me that might be of some help https://csharp.today/how-to-avoid-deadlocks-when-reading-redirected-child-console-in-c/ private static int BeParent() { var processInfo = new ProcessStartInfo { FileName = Environment.CommandLine.Replace(".vshost", string.Empty), Arguments =...

Adding this line before the process.WaitForExit() string output = process.StandardError.ReadToEnd(); Fixed the issue I was having, I found that the HTML page I was trying to turn to an image...