code: private static String stty(final String args) throws IOException, InterruptedException {
          return runCommand(new String[]{
              "sh", "-c", String.format("stty %s  < /dev/tty", args)
          });
      }
docs: Run the stty command with arguments in the active terminal.