Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
quote URL when launching browser, fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Jul 7, 2010
1 parent 4b16670 commit a51a920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bcat/browser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def open(url)
command = browser_command
fork do
[$stdin, $stdout].each { |fd| fd.close }
exec "#{command} #{shell_quote(url)}"
exec "#{command} '#{shell_quote(url)}'"
end
end

Expand Down

0 comments on commit a51a920

Please sign in to comment.