Get the output value of bash script executed with java : <p>I use this code to execute a script within my java program</p>

<pre><code>pb.environment().put("time", time);
pb.environment().put("value", value);
Process p = pb.start();     
p.waitFor();  
// get the return value
</code></pre>

<p>After waiting for the process is it possible to get the output value ? With output value I mean the echo values used in the script             </p>
