title: What is "Process finished with exit code 500" ？
body: <p>When I run App1 project to started another process(App2.exe), the program quickly exited itself, and then I got this information.</p>
  <p>&quot;Process finished with exit code 500&quot;</p>
  <p>Originally, I thought this situation should be very common, but I didn't find the information about this exit code on the search engine.</p>
  <p>What the hell is going on? I feel very confused.</p>
  <pre><code>//App1
  using System.Diagnostics;
  
  var app2 = new Process()
  {
      StartInfo =
      {
          FileName = &quot;App2.exe&quot;,
          UseShellExecute = false,
          CreateNoWindow = false
      }
  };
  app2.Start();
  </code></pre>
  <pre><code>// App2 
  while (true)
  {
      string input = Console.ReadLine();
      Console.WriteLine(&quot;Input is &quot; + input);
  }
  </code></pre>
  <p>Here is the solution, you can reproduce it on your own computer.</p>
  <p><a href="https://github.com/Andy-AO/Shared/tree/master/exit_code_500" rel="nofollow noreferrer">https://github.com/Andy-AO/Shared/tree/master/exit_code_500</a></p>