Class | Launchy::Detect::Runner |
In: |
lib/launchy/detect/runner.rb
|
Parent: | Object |
Detect the current command runner
This will return an instance of the Runner to be used to do the application launching.
If a runner cannot be detected then raise Runner::NotFoundError
The runner rules are, in order:
1) If you are on windows, you use the Windows Runner no matter what 2) If you are using the jruby engine, use the Jruby Runner. Unless rule
(1) took effect
3) Use Forkable (barring rules (1) and (2))