I am writing an C# application. In my application, I need to call a third party exe that reads a text input file generated by my application. Then, the third party exe does calculation and writes calculation results into a text file so that I can read the results back for post-processing. How do I do this?
Thank you.
System.Diagnostics.Process.Start(path_to_exe);
Microsoft documentation explains the additional parameters you can pass into the method. https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.start?view=net-5.0
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.