import java.util.Scanner;
public class Actividad1_4{
public static void main(String[] args){
Scanner teclado=new Scanner(System.in);
System.out.println("Introduce un nombre: ");
String nombre=teclado.nextLine();
Runtime r=Runtime.getRuntime();
String comando=nombre;
Process p=null;
try{
p=r.exec(comando);
}catch(Exception e){
System.out.println("Error en: "+comando);
e.printStackTrace();
}
}
}