title: Process WaitForExit()
body: <p>I use the below statements in my application:</p>
  
  <pre><code>System.Diagnostics.Process process = new System.Diagnostics.Process();
  process.StartInfo.FileName = 'FileName';
  process.Start();
  process.WaitForExit(900000); // 15 minutes
  </code></pre>
  
  <p>How does it work? After 15 minutes, if the 'FileName' is still running/executing, will <code>process.WaitForExit(900000);</code> kill the process? Else the execution goes to the next statement without killing the 'FileName', i.e. 'FileName' continue to run till it's execution completed?</p>