Skip to content

Commit

Permalink
command for chrome in windows, fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mykelk committed Sep 28, 2017
1 parent e56fc55 commit 4f46356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/displays.jl
Expand Up @@ -12,7 +12,7 @@ function inchrome(t::D3Tree)
show(f, MIME("text/html"), t)
end
if is_windows()
run(`start chrome "$fname"`)
run(`cmd /C start chrome "$fname"`)
else
run(`google-chrome $fname`)
end
Expand Down

1 comment on commit 4f46356

@zsunberg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.