Gadfly seems to use this function to open the .html file:
function open_file(filename) if OS_NAME == :Darwin run(`open $(filename)`) elseif OS_NAME == :Linux || OS_NAME == :FreeBSD run(`xdg-open $(filename)`) elseif OS_NAME == :Windows run(`$(ENV["COMSPEC"]) /c start $(filename)`) else warn("Showing plots is not supported on OS $(string(OS_NAME))") end end
So, for Windows, you can write your alternate cmd.exe (perhaps a byte that checks if the .html argument is then run chrome or pass true cmd.exe) and replace ENV["COMSPEC"]
source share