From 963d42ef78acc9a898b7794aa2d4b4d502df296b Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 30 Nov 2022 15:51:09 +0100 Subject: [PATCH] update boxes_proxy.py --- extensions/fablabchemnitz/boxes.py/boxes_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/boxes.py/boxes_proxy.py b/extensions/fablabchemnitz/boxes.py/boxes_proxy.py index 8a939ef..a20ad37 100644 --- a/extensions/fablabchemnitz/boxes.py/boxes_proxy.py +++ b/extensions/fablabchemnitz/boxes.py/boxes_proxy.py @@ -37,7 +37,7 @@ class boxesPyWrapper(inkex.GenerateExtension): os.remove(box_file) #remove previously generated box file at the beginning boxes_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'boxes', 'scripts') - cmd = os.path.join(boxes_dir, 'boxes') #the boxes python file (without .py ending) + cmd = 'python ' + os.path.join(boxes_dir, 'boxes') #the boxes python file (without .py ending) - we add python at the beginning to support Windows too for arg in vars(self.options): if arg != "output" and arg != "ids" and arg != "selected_nodes": #inkex.utils.debug(str(arg) + " = " + str(getattr(self.options, arg)))