void loopGetCommandFromInteractiveForExec(WriteLog writeLog,List<ServerInfo> objects){
        HelpPrompt.printAskExecCommand();
        String command = getInputContent();
        if (! FunctionKit.checkStringLengthIsZero(command)) {
            HelpPrompt.printInputError();
        } else if ("q".equals(command) || "Q".equals(command)){
            HelpPrompt.printExitExecCommand();
            HashMap<String, Session> ssh_connection_pool = SessionPool.getSsh_connection_pool();
            if (ssh_connection_pool.size() != 0){
                for (String ip : ssh_connection_pool.keySet()){
                    Session session = ssh_connection_pool.get(ip);
                    if (session.isConnected()){
                        session.disconnect();
                    }
                }
            }
            ssh_connection_pool.clear();
        } else {
            writeLog.writeCommand(command);

            //设置要执行的命令
            if (FunctionKit.checkCommandIsForceDeleteRootDirectory(command)){
                HelpPrompt.printYouCanntExecThisCommand();
            } else {
                ExecCommand.setCommand(command);
                MultiThread multiThread = new MultiThread();
                HashMap<String, Session> ssh_connection_pool = SessionPool.getSsh_connection_pool();
                int ssh_connection_pool_size = ssh_connection_pool.size();
                long start_time = System.currentTimeMillis();
                if (ssh_connection_pool_size == 0){
                    multiThread.startMultiThread(objects,"ssh");  //新建会话多线程执行
                } else {
                    multiThread.startMultiThread(ssh_connection_pool); //使用连接池 多线程执行
                }
                long end_time = System.currentTimeMillis();
                HelpPrompt.printExecuteTime(objects.size(),(end_time - start_time)/1000);
            }

            //递归调用自身获取命令执行
            loopGetCommandFromInteractiveForExec(writeLog,objects);
        }
    }