20.15
java.lang.Process
THE PACKAGE JAVA.LANG
20.15.4
public abstract int waitFor()
throws InterruptedException
This method causes the current thread to wait, if necessary, until the process rep 
resented by this
Process
 object has terminated. Then the exit value of the process
is returned. By convention, the value
0
 indicates normal termination.
If the current thread is interrupted ( 20.20.31) by another thread while it is
waiting, then the wait is ended and an
InterruptedException
 is thrown.
20.15.5
public abstract int exitValue()
throws IllegalThreadStateException
If the process represented by this
Process
 object has not yet terminated, then an
IllegalThreadStateException
 is thrown. Otherwise, the exit value of the pro 
cess is returned. By convention, the value
0
 indicates normal termination.
20.15.6
public abstract void destroy()
The process represented by this
Process
 object is forcibly terminated.
It was my hint to speak such was the process.
 William Shakespeare,
Othello
, Act I, scene iii
562






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved