mirror of
https://github.com/nophead/Mendel90.git
synced 2025-08-10 15:23:57 +02:00
Fixed #24
This commit is contained in:
2
InkCL.py
2
InkCL.py
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user