PS1 Idle process killer kills active processes also, idea on how to fix? #148471
Unanswered
ZFPuhi
asked this question in
Programming Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Hello to everyone,
Basically I'm writing a PS1 script that will be killing off only a chrome portable processes that are idle, but unfortunately I have stumbled onto an issue where it does kill idle processes but also live ones. I have tried different scenarios on how to make the code work where I have added:
Below you can see the code, if you have any suggestions or ideas on how to fix the current issue where I open up let's say 10 portables and leave 9 idle while on the 10-th I put on youtube on repeat, but it also gets killed where the goal is the active (not idle) to not be killed it would be great.
Beta Was this translation helpful? Give feedback.
All reactions