How to run command as background process using ADB?
adb, android
Solution
Adding nohup seems to work. ` adb shell "nohup logcat -r 2000 -f /data/local/test.log &" `
Problem
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.