Skip to content

Commit

Permalink
Merge remote-tracking branch 'filip/master'
Browse files Browse the repository at this point in the history
close #195

* filip/master:
  Switching from backticks to system

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
  • Loading branch information
yeban committed Nov 15, 2015
2 parents 5cb4947 + 252a309 commit 3b546b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sequenceserver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ def server_url
def open_in_browser(server_url)
return if using_ssh? || verbose?
if RUBY_PLATFORM =~ /linux/ && xdg?
`xdg-open #{server_url}`
system "xdg-open #{server_url}"
elsif RUBY_PLATFORM =~ /darwin/
`open #{server_url}`
system "open #{server_url}"
end
end

Expand Down

0 comments on commit 3b546b8

Please # to comment.