public void send(String message){
  try {
    writer.write(message + "\n");
    writer.flush();
  }
 catch (  IOException e) {
    throw new RuntimeException("Error writing " + message,e);
  }
}

public void send ( String message ) { try { writer . write ( message + "\n" ) ; writer . flush ( ) ; } catch ( IOException e ) { throw new RuntimeException ( "Error writing " + message , e ) ; } }
send a message to the process over the standard input .
