Tuesday, July 16, 2002 05:51 PM
You may be looking for the Runtime.getRuntime ().exec () method(s). These create a new process which will run even if the original JVM exits, and will not hold up the original thread ( though you may call the process.wait () method if you do want to wait it out before continuing... ).
If you are really looking for a Thread that won't hold up the original Thread, any will do. The start () method in thread returns (almost) immediately, and then in a different thread the run method of the new Thread is called. The parent and child will then execute in parallel.
Hope this helps.