Skip to content

Commit

Permalink
Removed stderr output in SVG generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
aptmcl committed Oct 31, 2024
1 parent bc7bf30 commit 68b7112
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ Base.show(io::IO, ::MIME"image/svg+xml", f::PDFFile) =
error("Could not find pdftocairo. Do you have MikTeX installed?")
else
try
println("Generating $svgpath from $path")
run(`$(pdftocairo) -svg -l 1 $(path) $(svgpath)`, wait=true)
run(pipeline(`$(pdftocairo) -svg -l 1 $(path) $(svgpath)`, stdout=devnull, stderr=devnull), wait=true)
catch e
error("Could not process $path to generate $svgpath.")
end
Expand Down

0 comments on commit 68b7112

Please sign in to comment.