private static boolean isBlockTerminalSupported(ShellStartupOptions options) {
        if (options == null) return false;
        List<String> command = options.getShellCommand();
        String shellPath = ContainerUtil.getFirstItem(command);
        if (shellPath == null) return false;
        String shellName = PathUtil.getFileName(shellPath);
        return LocalTerminalDirectRunner.isBlockTerminalSupported(shellName);
      }
private static boolean isBlockTerminalSupported(ShellStartupOptions options)