Hello, I open the application using the Process class:
System.Diagnostics.Process vsProc = new System.Diagnostics.Process();
vsProc.StartInfo.FileName = "program.exe";
vsProc.Start();
If I just kill it vsProc.Kill() the application ends uncorrectly. How can I close it correctly? Thanks