Skip to content

Commit

Permalink
add handling of non-admin processes (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariostieriansys committed Jul 23, 2024
1 parent ec5fbe7 commit 28e71df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/pyensight/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _find_ports_used_by_other_pyensight_and_ensight(self):
for process in psutil.process_iter():
try:
process_cmdline = process.cmdline()
except (psutil.AccessDenied, psutil.ZombieProcess):
except (psutil.AccessDenied, psutil.ZombieProcess, OSError):
continue
if not process_cmdline:
continue
Expand Down

0 comments on commit 28e71df

Please sign in to comment.