One standard issue: the process could be waiting for you to read its output. Create a separate thread to read from its standard output while you’re waiting for it to exit. It’s a bit of a pain, but that may well be the problem.
Related Contents:
- ProcessStartInfo hanging on “WaitForExit”? Why?
- Executing Batch File in C#
- .NET – WindowStyle = hidden vs. CreateNoWindow = true?
- Running MSBuild programmatically
- Run process as administrator from a non-admin application
- Set environment variables for a process
- Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
- Retrieving Property name from lambda expression
- Any difference between “await Task.Run(); return;” and “return Task.Run()”?
- There is already an open DataReader associated with this Command which must be closed first
- Capturing console output from a .NET application (C#)
- How to access random item in list?
- Efficient way to remove ALL whitespace from String?
- “The remote certificate is invalid according to the validation procedure.” using Gmail SMTP server
- Multi-key dictionary in c#? [duplicate]
- How to update GUI with backgroundworker?
- How to serialize/deserialize to `Dictionary` from custom XML not using XElement?
- How can I validate console input as integers?
- At the end of an async method, should I return or await?
- Where does System.Diagnostics.Debug.Write output appear?
- Disable Required validation attribute under certain circumstances
- Must declare scalar variable @Id?
- How to update textbox in form1 from form2?
- Why can’t we change access modifier while overriding methods in C#?
- Is String.Contains() faster than String.IndexOf()?
- Is there a Lower Bound function on a SortedList?
- Retrying HttpClient Unsuccessful Requests
- Convert binary string into integer
- Best way to convert callback-based async method to awaitable task
- How to display items in Canvas through Binding
- How to display the string html contents into webbrowser control?
- How to get csc.exe path?
- ReSharper complains when method can be static, but isn’t
- Encrypting credentials in a WPF application
- How to set read permission on the private key file of X.509 certificate from .NET
- Raise an event of a class from a different class in C#
- How to run something in the STA thread?
- Linq OrderBy does not sort a List. How do I sort the list?
- What is the difference between casting and coercing?
- What value should I pass into TimeZoneInfo.FindSystemTimeZoneById(String)?
- Casting IEnumerable to List
- Azure Functions binding redirect
- DataGridViewComboBoxCell Binding – “value is not valid”
- Looking for an example of a custom SynchronizationContext (Required for unit testing)
- HttpWebRequest and forms authentication in C#
- Reset scroll position after Async postback – ASP.NET
- Query excel sheet in c#
- How can I open Windows Explorer to a certain directory from within a WPF app?
- Best way to save a ordered List to the Database while keeping the ordering
- Proper way to stop TcpListener