code: public void writeToStdIn(String text, boolean newLine) {
          if ( outputStream == null) {
              outputStream = new BufferedOutputStream(process.getOutputStream());
              outputWriter = new BufferedWriter(new OutputStreamWriter(outputStream));
          }
  
          try {
              outputWriter.write(text);
              if ( newLine ) {
                  outputWriter.newLine();
              }
              outputWriter.flush();
              outputStream.flush();
          } catch (IOException e) {
              getLog().debug("Error when writing to process in for " + this, e);
              ChorusAssert.fail("IOException when writing line to process");
          }
      }
docs: Write the text to the std in of the process
  @param newLine append a new line