public String receive(){
  try {
    return reader.readLine();
  }
 catch (  IOException e) {
    throw new RuntimeException("Error reading",e);
  }
}

public String receive ( ) { try { return reader . readLine ( ) ; } catch ( IOException e ) { throw new RuntimeException ( "Error reading" , e ) ; } }
receive a message from the process over the standard output .
