/** * Join and return script line result. * * @return script line result * @throws Exception throws execution exception */ public String getResult() throws Exception { try { join(); } catch (InterruptedException ie) { } if (exception != null) { throw exception; } return result; } }