Skip to content
A helper for launching cross-platform applications in a fire and forget manner. https://github.com/copiousfreetime/launchy
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
spec
.gitignore
HISTORY
LICENSE
NOTES
README
Rakefile

README

== launchy

* Homepage[http://www.copiousfreetime.org/projects/launchy/]
* {Github Project}[http://github.com/copiousfreetime/launchy]
* email jeremy at hinegardner dot org

== DESCRIPTION

Launchy is helper class for launching cross-platform applications in a
fire and forget manner.

There are application concepts (browser, email client, etc) that are
common across all platforms, and they may be launched differently on
each platform. Launchy is here to make a common approach to launching
external application from within ruby programs.

== FEATURES

Currently only launching a browser is supported.

== SYNOPSIS

You can use launchy on the commandline, or via its API.

=== Commandline

    % launchy http://www.ruby-lang.org/

There are additional commandline options, use 'launchy --help' to see them.

=== Public API

In the vein of {Semantic Versioning}[http://semver.org], starting with version 2.0.0, this is the
sole supported public API.

    Launchy.open( uri, options = {} )

At the moment, the only available options are:

    :debug        Turn on debugging output
    :application  Explicitly state what application class is going to be used
    :host_os      Explicitly state what host operating system to pretend to be
    :ruby_engine  Explicitly state what ruby engine to pretend to be under
    :dry_run      Do nothing and print the command that would be executed on $stdout

An example of using the public API:

    Launchy.open( "http://www.ruby-lang.org" )

== ISC LICENSE

http://opensource.org/licenses/isc-license.txt

Copyright (c) 2007-2011 Jeremy Hinegardner

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice
and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Something went wrong with that request. Please try again.