Changeset 4478

Show
Ignore:
Timestamp:
01/12/08 12:39:30 (5 years ago)
Author:
cho45
Message:

lang/ruby/userscripts_org/trunk/bin/userjs:

Use cygstart in cygwin.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/userscripts_org/trunk/bin/userjs

    r4445 r4478  
    208208                when /darwin/ 
    209209                        system("open", "-a", "Firefox", path.to_s) 
     210                when /cygwin/ 
     211                        warn "You must associate .js to Firefox." 
     212                        system("cygstart", path.to_s) 
    210213                when /win/ 
    211214                        abort "Not supported OS #{RUBY_PLATFORM}"