From 6fef9d7589e7a1a18f5db53fc5b368f8530279f4 Mon Sep 17 00:00:00 2001 From: Tue Herlau <tuhe@dtu.dk> Date: Thu, 9 Sep 2021 11:50:45 +0200 Subject: [PATCH] Works on linux --- setup.py | 2 +- src/jinjafy/__init__.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e9c9557..253668a 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setuptools.setup( name="beamer-slider", - version="0.1.13", + version="0.1.14b", author="Tue Herlau", author_email="tuhe@dtu.dk", description="Software to create inkscape overlays in Beamer", diff --git a/src/jinjafy/__init__.py b/src/jinjafy/__init__.py index 0bebe70..d3ff8b7 100644 --- a/src/jinjafy/__init__.py +++ b/src/jinjafy/__init__.py @@ -16,7 +16,9 @@ def execute_command(command, shell=True): result = subprocess.run(command, stdout=subprocess.PIPE, shell=shell) out = result.stdout else: - out = subprocess.check_output(command, shell=shell) + cmd = " ".join(command) + print(cmd) + out = subprocess.check_output(cmd, shell=shell) s = out.decode("utf-8") OK = True return s, OK -- GitLab