Descripción
Sintaxis
public abstract class Process extends Object
Constructores
Métodos
- children()
- descendants()
- destroy()
- destroyForcibly()
- exitValue()
- getErrorStream()
- getInputStream()
- getOutputStream()
- info()
- isAlive()
- onExit()
- pid()
- supportsNormalTermination()
- toHandle()
- waitFor()
Ejemplo
Process process = Runtime.getRuntime().exec("lsb_release -a");
InputStream inputstream = process.getInputStream();
BufferedInputStream bis = new BufferedInputStream(inputstream);
Artículos
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.