exec
methods return an instance of a subclass of Process
that can be used to control the process and obtain information about it.
The subprocess is not killed when there are no more references to the Process
object, but rather the subprocess continues executing asynchronously.
package java.lang; import java.io.*; (>JDK1.0)public abstract class Process { // Méthodes de classe publiques (>JDK1.0) public abstract void destroy(); (>JDK1.0) public abstract int exitValue(); (>JDK1.0) public abstract InputStream getErrorStream(); (>JDK1.0) public abstract InputStream getInputStream(); (>JDK1.0) public abstract OutputStream getOutputStream(); (>JDK1.0) public abstract int waitFor() throws InterruptedException; } |
Christophe Merlet redfox@redfoxcenter.org | ©Tous droits réservés
11 septembre 1998 |