Ho un problema con il seguente comando :
Runtime.getRuntime().exec("gedit"); in questo caso funziona benissimo , mi apre un nuovo documento con gedit

adesso vorrei lanciare il terminale :
Runtime.getRuntime().exec("/bin/bash"); però nn succede nulla...
ho provato anche a lanciare uno script Runtime.getRuntime().exec("/bin/bash /home/usr/script.sh");

suggerimenti
Grazie


posto il codice completo x essere più chiaro :

Process theProcess=null;
//Runtime.getRuntime().exec("gedit");

try
{
theProcess = Runtime.getRuntime().exec("/bin/bash");
}

catch(IOException e)
{
System.err.println("Error on exec() method");
e.printStackTrace();
}