fix the path quoting in open_webrtc_browser
parent
75ebd08153
commit
c6bdc3fa14
|
@ -167,7 +167,7 @@ def self.open_webrtc_browser(url='http://google.com/')
|
||||||
paths.each do |path|
|
paths.each do |path|
|
||||||
if File.exists?(path)
|
if File.exists?(path)
|
||||||
args = (path =~ /chrome\.exe/) ? "--allow-file-access-from-files" : ""
|
args = (path =~ /chrome\.exe/) ? "--allow-file-access-from-files" : ""
|
||||||
system("#{path} #{args} #{url}")
|
system("\"#{path}\" #{args} \"#{url}\"")
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue