You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to get the working directory of the process started by another user?
>>> p = psutil.Process(OTHER_USER_PROCESS_ID)
>>> p.getcwd()
AccessDenied Exception
You need to have adequate permissions to access the information from another
process, e.g. Administrator or root user privileges would probably do it. It's
hard to give any better advice since you don't mention what platform, version
of Python, or version of psutils you're working with.
For the future, issues like this are much better addressed through the mailing
list ( https://groups.google.com/forum/?fromgroups#!forum/psutil ) rather than
the bug tracker.
From richar...@gmail.com on January 23, 2013 02:53:44
Original issue: http://code.google.com/p/psutil/issues/detail?id=350
The text was updated successfully, but these errors were encountered: