1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-10 15:23:57 +02:00
This commit is contained in:
Chris Palmer
2012-12-24 16:13:35 +00:00
parent 1fab28d832
commit daaeaeea25

View File

@@ -8,7 +8,7 @@ def run(*args):
for arg in args:
print arg,
print
run = subprocess.Popen(["inkscape"] + list(args), shell = True, stdout = subprocess.PIPE, stderr = subprocess.PIPE)
run = subprocess.Popen(["inkscape"] + list(args) + [" -z"], shell = False, stdout = subprocess.PIPE, stderr = subprocess.PIPE)
out,err=[e.splitlines() for e in run.communicate()]
return run.returncode, out, err