Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddonFinderProcess fixes #4061

Merged
merged 12 commits into from
Jan 31, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public Set<AddonInfo> getSuggestedAddons() {

try {
processInfos = ProcessHandle.allProcesses().map(process -> new ProcessInfo(process.info()))
andrewfg marked this conversation as resolved.
Show resolved Hide resolved
.filter(info -> (info.command != null) || (info.commandLine != null))
andrewfg marked this conversation as resolved.
Show resolved Hide resolved
.collect(Collectors.toUnmodifiableSet());
} catch (SecurityException | UnsupportedOperationException unused) {
logger.info("Cannot obtain process list, suggesting add-ons based on running processes is not possible");
Expand Down