Merge pull request #663 from fuzzybear3965/master

path spaces fix stolen from http://stackoverflow.com/a/13692919
This commit is contained in:
Tom Breloff 2017-02-03 10:24:36 -05:00 committed by GitHub
commit 2ac4ffc576

View File

@ -27,7 +27,7 @@ function open_browser_window(filename::AbstractString)
return run(`xdg-open $(filename)`)
end
@static if is_windows()
return run(`$(ENV["COMSPEC"]) /c start $(filename)`)
return run(`$(ENV["COMSPEC"]) /c start "" "$(filename)"`)
end
warn("Unknown OS... cannot open browser window.")
end