Skip to content

pymapdl stop --all attempts to kill other users instances #4256

@germa89

Description

@germa89

As the title.

When running pymapdl stop --all in a machine with other ansys processes running by other users, PyMAPDL raises an exception when trying to kill other users's instances.

  File "C:\Users\gayuso\venv13\Lib\site-packages\psutil\_pswindows.py", line 695, in wrapper
    raise convert_oserror(err, pid=self.pid, name=self._name) from err
psutil.AccessDenied: (pid=8136, name='ANSYS261.exe')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions