title: Java Class - Do not wait for process to exit
body: <p>I have created a process like so to launch the android emulator:</p>
  
  <pre><code>Process p = Runtime.getRuntime().exec("emulator.exe -avd Testing -no-boot-anim -scale 0.42");
  </code></pre>
  
  <p>My Java class does what it needs to do but it never ends since that Process has not been destroyed. I just want my Java class to do what it needs to do and exit without waiting for or destroying the started process. I've tried:</p>
  
  <p><code>System.Exit(0)</code></p>
  
  <p>But my Java class doesn't get pass it. What can I do?</p>