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

add handling of non-admin processes #390

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading