Execute a script in a Linux machine from a Java application
Hi,
I am trying to execute a script in a Linux machine from a Java application on a Windows environment. My code is
commande="rsh 185.30.30.30 -l goku /newfolder/bench/bin/Agent start ";
try{
Process process = Runtime.getRuntime().exec(commande);
}
catch(Throwable t){}
It works fine but the script takes too much time to start (almost 3 minutes). My question is there exists anther way to execute the script, another command? I have already tried ssh but windows doesn抰 recognize it
If somebody has any idea please let me know...
Thanks

