Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.Process big problem...Too limited

807569Aug 25 2006 — edited Aug 25 2006
I am facing a problem because of java.lang.Process limited finctionality...

as Thread.isAlive() tells us that whether a thread is alive or not , there is no method that tells whether a process is alive or not....

There is a method called waitFor() , it returns if the process is terminated bu blocks if the process has not terminated.....


So i need something that can tell me that the process is alive or dead......Please tell me if anyone can......
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2006
Added on Aug 25 2006
2 comments
96 views