I am trying to call the ClearCanvas exe with aruments from Windows application using C#, but I am not able to call it. Below is my code..
string[] args = new string[2]; args[0] = "ClearCanvas.Desktop";
Process pro = new Process();
pro.StartInfo.FileName = @"D:\ClearCanvasWorkStation\Desktop\Executable\bin\Debug\ClearCanvas.Desktop.Executable.exe";
pro.StartInfo.Arguments = args[0];
pro.Start();
What am I supposed to send as an argument and what I need to do if I want to send more than one argument?