I use this code to execute a script within my java program
pb.environment().put("time", time);
pb.environment().put("value", value);
Process p = pb.start();
p.waitFor();
// get the return value
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