title: How to start a external executable from c# and get the exit code when the process ends
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/181719/how-to-start-a-process-from-c">How to start a process from C#?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to start a external executable running in command line to do some task. After it is done, I want to check the errorcode it returns. How can I do it?</p>