title: Detect process exit
body: <p>I have following code:</p>
  
  <pre><code>   private void fileSystemWatcher_Changed(object sender, System.IO.FileSystemEventArgs e)
      {
          System.Diagnostics.Process execute = new System.Diagnostics.Process();
  
          execute.StartInfo.FileName = e.FullPath;
          execute.Start();
  
          //Process now started, detect exit here
  
      }
  </code></pre>
  
  <p>The FileSystemWatcher is watching a folder where .exe files are getting saved into. The files which got saved into that folder are executed correctly. But when the opened exe closes another function should be triggered.</p>
  
  <p>Is there a simple way to do that?</p>