jacek-kurlit / pik

Process Interactive Kill
https://crates.io/crates/pik
MIT License
187 stars 7 forks source link

Filter out all process that do not belong to current user #22

Closed jacek-kurlit closed 4 months ago

jacek-kurlit commented 4 months ago

We can add option to display all but without root privileges user cannot kill root processes. Also take into account that as root I probably want to see all processes in system!

There is also user group id (expect on windows) should we take it into account too?

Maybe it is good idea to allow user to toggle what can he see:

Seems like the only way to see who is running pik is to get current process and check his owner.