List<String> () { checkEdtAndReadAction(); if (!new WSLCommandLineOptions().isLaunchWithWslExe()) { return Collections.emptyList(); } try { long startNano = System.nanoTime(); Pair<GeneralCommandLine, List<String>> result = doFetchDistributionsFromWslCli(); if (result == null) return Collections.emptyList(); LOG.info("Fetched WSL distributions: " + result.second + " (\"" + result.first.getCommandLineString() + "\" done in " + TimeoutUtil.getDurationMillis(startNano) + " ms)"); return result.second; } catch (IOException e) { LOG.info("Cannot parse WSL distributions", e); return Collections.emptyList(); } }