Tema: Pasar
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/04/2016, 01:48
Avatar de Profesor_Falken
Profesor_Falken
 
Fecha de Ingreso: agosto-2014
Ubicación: Mountain View
Mensajes: 1.323
Antigüedad: 9 años, 9 meses
Puntos: 182
Respuesta: Pasar

Buenas,

Simplemente llama el script pasandole los parametros:

Código Java:
Ver original
  1. ProcessBuilder pb = new ProcessBuilder("tuShellScript.sh", tuparam1, tuparam2);
  2. Process p = pb.start();

Un saludo
__________________
If to err is human, then programmers are the most human of us