fix the path quoting in open_webrtc_browser

bug/bundler_fix
Brent Cook 2016-04-02 13:18:23 -05:00
parent 75ebd08153
commit c6bdc3fa14
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ def self.open_webrtc_browser(url='http://google.com/')
paths.each do |path|
if File.exists?(path)
args = (path =~ /chrome\.exe/) ? "--allow-file-access-from-files" : ""
system("#{path} #{args} #{url}")
system("\"#{path}\" #{args} \"#{url}\"")
return true
end
end