Runtime shell = Runtime.getRuntime();
Process p = shell.exec(cmd);
//Get the input stream of the subprocess.
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
//Get the error stream of the subprocess.
BufferedReader err = new BufferedReader(new InputStreamReader(p.getErrorStream()));
Generoso
Almaraz Mulas
C/Proci�n
1-3, 28023 - MADRID
Tel: 91 307 66 89 Fax: 91 372 85
50
Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci�n CONFIDENCIAL sometida a secreto profesional o cuya divulgaci�n est� prohibida en virtud de la legislaci�n vigente. Si ha recibido este mensaje por error o no es el destinatario del mismo, le rogamos nos lo comunique inmediatamente por esta misma v�a, por tel�fono (+34 91 3076689) o fax (+34 91 3728550) y proceda a su destrucci�n. Por favor, tenga en cuenta que el correo electr�nico v�a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci�n de los mismo. En el caso de que el destinatario de este mensaje no consintiera la utilizaci�n del correo electr�nico v�a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.
This message is intended exclusively for its addressee and may contain information that it is CONFIDENTIAL and protected by a professional privilege (like attorney-client privilege) or which disclosure is prohibited by law. If this message has been received by error, please inmediately notify us via e-mail, by phone (+34 91 3076689) or fax (+34 91 3728550) and delete it. Please, note that Internet e-mail does not guarantee the confidentiality neither the proper receipt of the message sent. If the addressee of this message does not consent to the use of Internet e-mail, please communicate it to us inmediately.
