title: C# child process behaviour after parent crash
body: <p>I have a simple yet interesting question.</p>
  
  <p>I need to start a process (a node.js server) from a C# application. </p>
  
  <p>I found a piece of code explaining how to start the server from within the application. </p>
  
  <pre><code> Process p = new Process();
          p.StartInfo.UseShellExecute = false;
          p.StartInfo.RedirectStandardOutput = true;
          p.StartInfo.RedirectStandardError = true;
          p.StartInfo.RedirectStandardInput = true;
          p.StartInfo.FileName = @"c:\node\node.exe";**//Path to node installed folder****
          string argument = "\\ bundle\main.js";
          p.StartInfo.Arguments = @argument;
          p.Start();
  </code></pre>
  
  <p>My question is : what happend with this process if the parent process (the C# application) crashes ? Will the child process exit/crash or will it keep running as it's a totally separate program ?</p>
  
  <p>In the case it keeps running, is there a way to "link" those two processes to make sure the child exits if the parent crashes ?</p>