boolean () { // Workaround OC-18001 OC-18634 CLion crashes after opening Swift project on Linux if (PluginManagerCore.isPluginInstalled(PluginId.getId("com.intellij.clion-swift"))) { try { String stdout = StringUtil.toLowerCase( ExecUtil.execAndGetOutput(new GeneralCommandLine("lspci")).getStdout()); return stdout.contains("vmware") || stdout.contains("virtualbox"); } catch (Throwable e) { LOG.error(e); } } return false; }