/**
   * execute vbs by java.
   *
   * @param command vbs file with params Object to be executed
   * @throws RuntimeException
   * @throws TimeoutException
   */
  public void executeCommands(String[] command) {
    try {
      Process process = Runtime.getRuntime().exec(command);
      ProcessListener listener = new ProcessListener(process);
      listener.start();

      try {
        listener.join(threadTimeOut);
      } catch (InterruptedException ex) {
        listener.interrupt();
        throw new RuntimeException(ex);
      } finally {
        process.destroy();
      }
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }