Check if Process Exists
Posted: 06 Aug 2018 18:45
Since the condition "App Process Running" mostly doesn't work anymore from Android 7, I'm trying out manually to check upon the existence of a process.
Now i've tried the "Execute Command" and its Root-version with some commands (like: ps | grep com.privateinternetaccess.android), but i'm wondering if there is a better method.
Or is this the best one?
And if so:
What to do with the complete {stdout} variable?
Mainly a whole bunch of numbers (of which 1 i bet is a PID) come along which may be useful if i knew how to read them.
I can't show you the {stdout} yet since i don't know if they are personable numbers..
Now i've tried the "Execute Command" and its Root-version with some commands (like: ps | grep com.privateinternetaccess.android), but i'm wondering if there is a better method.
Or is this the best one?
And if so:
What to do with the complete {stdout} variable?
Mainly a whole bunch of numbers (of which 1 i bet is a PID) come along which may be useful if i knew how to read them.
I can't show you the {stdout} yet since i don't know if they are personable numbers..