diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/graphviz.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index d2c0bce29..fe95d3f96 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -55,7 +55,8 @@ class Graphviz < Formula } EOS - system "#{bin}/dot -Tpdf -o sample.pdf sample.dot && /usr/bin/open ./sample.pdf && /bin/sleep 3" + system "#{bin}/dot", "-Tpdf", "-o", "sample.pdf", "sample.dot" + system "/usr/bin/qlmanage", "-p", "./sample.pdf" end end |
