public void RunProgram(string rawFile,string configFile) { proc.EnableRaisingEvents = false; proc.StartInfo = new ProcessStartInfo(); proc.StartInfo.Arguments = "C:\\Users\\Iman\\Desktop\\ToxIDtest\\Exact_Mass_Test.raw"; proc.StartInfo.WorkingDirectory = "C:\\Xcaliber\\system\\programs\\"; proc.StartInfo.FileName = "ID.exe"; proc.Start(); proc.WaitForExit(); }
proc
StartInfo
System.Diagnostics.Process
Process
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)