I need help with PID. #816
Replies: 1 comment
-
Implementation of the pidof tool: https://cs.android.com/android/platform/superproject/+/main:external/toybox/lib/lib.c;l=1128 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm facing problems to identify sub processes PIDs.
su -c 'pidof (package name)/.(full sub processes name)'
always return a different PID on every execution but:
su -c 'pidof (package name)'
only returns one specific pid that I can comprobe it's the correct pid.
It's strange because new PID means sub processes restarts but I'm getting different PIDs and I can see how the specific sub processes still on execution.
Beta Was this translation helpful? Give feedback.
All reactions