I have a Thread creating a Process object thru the Runtime.exec() method. When I call the MyNewProcess.waitFor() method in the thread every thing freezes. The new process actually shows up in the OS but it never actually does anything, nor does it exit and return control to the Thread. Please help!

Basically waitFor() methode only returns in the case of process termination. if that process is still running then that method never returns. probable solution is to do one thing that try to terminate the process either manully or via code.