Skip to content

Commit 694f248

Browse files
committed
[viewcfg] Explicitly tell open to use Graphviz instead of relying on system defaults.
Just eliminates a source of unnecessary error. We only support graphviz so nothing is lost here.
1 parent 9465673 commit 694f248

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

utils/viewcfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,8 @@ def main():
171171

172172
out_file.write("}\n")
173173

174-
# Open the dot file (should be done with Graphviz).
175-
176-
subprocess.call(["open", file_name])
174+
# Open the dot file.
175+
subprocess.call(["open", "-a", "Graphviz", file_name])
177176

178177

179178
if __name__ == '__main__':

0 commit comments

Comments
 (0)