From e17ef8614fe8a25ffb913748dfa090463cb4b969 Mon Sep 17 00:00:00 2001 From: es80 <49912978+es80@users.noreply.github.com> Date: Sun, 21 Jun 2020 17:56:52 +0100 Subject: [PATCH] fix a regression for shell subprocess --- bumblebee_status/modules/contrib/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/shell.py b/bumblebee_status/modules/contrib/shell.py index a451692..6fd9aa2 100644 --- a/bumblebee_status/modules/contrib/shell.py +++ b/bumblebee_status/modules/contrib/shell.py @@ -60,7 +60,7 @@ class Module(core.module.Module): def update(self): # if requested then run not async version and just execute command in this thread if not self.__async: - self.__output = util.cli.execute(self.__command, ignore_errors=True).strip() + self.__output = util.cli.execute(self.__command, shell=True, ignore_errors=True).strip() return # if previous thread didn't end yet then don't do anything