docs: protected void sendInput()
      {
          Thread thread = new Thread()
          {
              public void run()
              {
                  try
                  {
                      stdin.write(input.getBytes("UTF-8"));
                      stdin.flush();
                      stdin.close();
                  }
                  catch (Exception e)
                  {
                      exceptionCaught(e);
                  }
              }
          };
  
          try
          {
              thread.start();
              thread.join();
          }
          catch (Exception e)
          {
              exceptionCaught(e);
          }
      }