Skip to content

Commit

Permalink
Handle cygwin support
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/svn/framework3/trunk@6673 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information
HD Moore committed Jun 20, 2009
1 parent e6e8a42 commit 5f14719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/msfweb/config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def initialize_encoding
select(nil, nil, nil, 0.5)

case RUBY_PLATFORM
when /mswin32/
system("start #{$browser_url}")
when /mswin32|cygwin/
system("cmd.exe /c start #{$browser_url}")
when /darwin/
system("open #{$browser_url}")
else
Expand Down

0 comments on commit 5f14719

Please sign in to comment.