Merge pull request #703 from lwabeke/FreeBSDfix

FreeBSDfix
This commit is contained in:
Tom Breloff 2017-03-01 10:32:08 -05:00 committed by GitHub
commit ff797b11d1

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()