Commit to address issue #681

Change to address issue #681
Untested change
This commit is contained in:
Leon Wabeke 2017-02-24 12:19:20 +02:00
parent 2d61b413d6
commit 9e1d551173

View File

@ -23,7 +23,7 @@ function open_browser_window(filename::AbstractString)
@static if is_apple()
return run(`open $(filename)`)
end
@static if is_linux()
@static if is_linux() || is_bsd() # is_bsd() addition is as yet untested, but based on suggestion in https://github.com/JuliaPlots/Plots.jl/issues/681
return run(`xdg-open $(filename)`)
end
@static if is_windows()