private void writeBytes(byte[] bytes) throws IOException {
    OutputStream input = myProcessHandler.getProcessInput();
    if (input != null) {
      input.write(bytes);
      input.flush();
    }
  }
private void writeBytes(byte[] bytes)