private String getRealPath(String originPath) {
        String homeDir = System.getProperty("user.home");
        if (homeDir == null) {
            LOGGER.warn("user.home should not be null");
            return originPath;
        }
        return originPath.replace("~", homeDir).replace("${HOME}", homeDir).replace("${home}", homeDir);
    }
Thread for core thread.

@return runnable profile.
inlong-agent/agent-installer/src/main/java/org/apache/inlong/agent/installer/ModuleManager.java