Re: Change process owner [psutil]

12 views
Skip to first unread message

Jay Loden

unread,
Feb 12, 2013, 2:53:07 PM2/12/13
to psu...@googlegroups.com
Can you post the exact code you're using and let us know the platform (OS, version etc.)? 

You can't change ownership of a process with psutil if you don't have access rights, but the script shouldn't quit/crash on kill() just because you don't own the process. It should throw an AccessDenied exception typically. 

-Jay

On Tue, Feb 12, 2013 at 12:16 PM, Dawid Dyrcz <dyrc...@gmail.com> wrote:
I've a problem. When I try kill not my process (someone else is a owner) my script quit... How Can I change ownership in psutil?


Reply all
Reply to author
Forward
0 new messages