Skip to content

Commit

Permalink
Fixed nophead#24
Browse files Browse the repository at this point in the history
  • Loading branch information
nophead committed Dec 24, 2012
1 parent 1fab28d commit daaeaee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InkCL.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit daaeaee

Please sign in to comment.