diff --git a/androidtv/constants.py b/androidtv/constants.py index c1c20a67..ed30d5ad 100644 --- a/androidtv/constants.py +++ b/androidtv/constants.py @@ -209,7 +209,7 @@ class DeviceEnum(IntEnum): CMD_RUNNING_APPS_ANDROIDTV = "ps -A | grep u0_a" #: Get the running apps for a Fire TV device -CMD_RUNNING_APPS_FIRETV = "ps | grep u0_a" +CMD_RUNNING_APPS_FIRETV = "ps -A | grep u0_a" #: Get installed apps CMD_INSTALLED_APPS = "pm list packages" diff --git a/tests/test_constants.py b/tests/test_constants.py index ec9a5d16..270ca097 100644 --- a/tests/test_constants.py +++ b/tests/test_constants.py @@ -216,7 +216,7 @@ def test_constants(self): self.assertCommand(constants.CMD_RUNNING_APPS_ANDROIDTV, r"ps -A | grep u0_a") # CMD_RUNNING_APPS_FIRETV - self.assertCommand(constants.CMD_RUNNING_APPS_FIRETV, r"ps | grep u0_a") + self.assertCommand(constants.CMD_RUNNING_APPS_FIRETV, r"ps -A | grep u0_a") # CMD_SCREEN_ON self.assertCommand(