Issue
I am trying to run logcat in background using adb.
adb shell "logcat -r 2000 -f /data/local/test.log &"
But it does not work. If I do adb shell ps | grep logcat
I dont see logcat process running.
Solution
Adding nohup seems to work.
adb shell "nohup logcat -r 2000 -f /data/local/test.log &"
Answered By - Oak Bytes
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.