title: Java Kill processes started with ProcessBuilder
body: <p>I'm running my processes like this:</p>
  
  <pre><code>builder = new ProcessBuilder("/bin/bash", "-c", "./MessageGenerator | ./SimpleEchoServer");
  process = builder.start();
  </code></pre>
  
  <p>Then process.destroy() or forciblyDestroy() doesn't work. Is it because I'm using a pipe? How can I kill these processes?</p>