diff --git a/src/Catalyst.jl b/src/Catalyst.jl index 0a9fde314a..80f4fd6814 100644 --- a/src/Catalyst.jl +++ b/src/Catalyst.jl @@ -64,9 +64,7 @@ function __init__() USE_GV_JLL[] = true let cfg = joinpath(Graphviz_jll.artifact_dir, "lib", "graphviz", "config6") if !isfile(cfg) - Graphviz_jll.dot() do path - run(`$path -c`) - end + run(`$(Graphviz_jll.dot()) $path -c`) end end end