title: Spawn a process in Java that survives a JVM shutdown
body: <p>I need to spawn a process in Java (under Linux exclusively) that will continue to run after the JVM has exited.  How can I do this? </p>
  
  <p>Basically the Java app should spawn an updater which stops the Java app, updates files and then starts it again.</p>
  
  <p>I'm interested in a hack &amp; slash method to just get it working as well as a better design proposal if you have one :)</p>