dcsimg
Zombie Thread and Process
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Keath_Long
Posted On:   Friday, January 18, 2002 11:10 PM

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!

Re: Zombie Thread and Process

Posted By:   Gautam_Shah  
Posted On:   Sunday, January 20, 2002 10:33 PM

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.
About | Sitemap | Contact