jacek-kurlit / pik

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

Add autorefresh option #26

Open jacek-kurlit opened 3 months ago

jacek-kurlit commented 3 months ago

Killing process takes time, refresh after kill signal was sent returns removed process once again This forces us to manually remove process from list but it is hacky way, since process may reappear if killing takes too long time (think about servers that needs to clean up connections)!

Autorefresh may cause one big problem, out of sudden order of processes on list may change and cause to kill wrong process! This can be mitigated by kill confirm dialog but maybe there is another way to make sure that user will not kill wrong process by mistake?