Re: How to run shell script from java
Thursday, February 7, 2002 12:10 PM
Process p = r.exec("Name of your shell script");
BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
You can use br.readLine() to read the process output.
Hope this helps.