Skip to content
Snippets Groups Projects
Commit 6fef9d75 authored by tuhe's avatar tuhe
Browse files

Works on linux

parent ad5f0b23
Branches
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ with open("README.md", "r", encoding="utf-8") as fh: ...@@ -10,7 +10,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup( setuptools.setup(
name="beamer-slider", name="beamer-slider",
version="0.1.13", version="0.1.14b",
author="Tue Herlau", author="Tue Herlau",
author_email="tuhe@dtu.dk", author_email="tuhe@dtu.dk",
description="Software to create inkscape overlays in Beamer", description="Software to create inkscape overlays in Beamer",
......
...@@ -16,7 +16,9 @@ def execute_command(command, shell=True): ...@@ -16,7 +16,9 @@ def execute_command(command, shell=True):
result = subprocess.run(command, stdout=subprocess.PIPE, shell=shell) result = subprocess.run(command, stdout=subprocess.PIPE, shell=shell)
out = result.stdout out = result.stdout
else: 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") s = out.decode("utf-8")
OK = True OK = True
return s, OK return s, OK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment