diff --git a/bumblebee_status/util/cli.py b/bumblebee_status/util/cli.py index 3e4face..8b39aab 100644 --- a/bumblebee_status/util/cli.py +++ b/bumblebee_status/util/cli.py @@ -30,6 +30,11 @@ def execute( """ args = cmd if shell else shlex.split(cmd) logging.debug(cmd) + + if not env: + env = os.environ.copy() + env["LC_ALL"] = "C" + try: proc = subprocess.Popen( args,