title: C# - Launch application with arguments.
body: <p>Hello I've to Launch the software CFast for a Parametric Analysis. To do this, I want to create a application in C# that runs the core CFast.exe. If I want run the software from cmd.exe and execute it on the file INPUTFILENAME.in I write in prompt: </p>
  
  <blockquote>
    <p>CFast.exe INPUTFILENAME</p>
  </blockquote>
  
  <p>In C# I wrote the following code:</p>
  
  <pre><code>Process firstProc = new Process();
  firstProc.StartInfo.FileName = @"C:\Users\Alberto\Desktop\Simulazioni Cfast\D\C\N\A3B1\CFAST.exe";
  firstProc.StartInfo.Arguments = @"INPUTFILENAME";
  firstProc.EnableRaisingEvents = true;
  firstProc.Start();
  firstProc.WaitForExit();
  </code></pre>
  
  <p>With this code CFast run but doesn't analyze anything... Seems like don't accept the argument. Hint for this trouble ? </p>