Class: Launchy::Detect::Runner::Jruby

Inherits:
Launchy::Detect::Runner show all
Defined in:
lib/launchy/detect/runner.rb

Instance Method Summary collapse

Methods inherited from Launchy::Detect::Runner

#commandline_normalize, detect, #run, #shell_commands

Methods included from Launchy::DescendantTracker

#children, #find_child, #inherited

Instance Method Details

#dry_run(cmd, *args) ⇒ Object


73
74
75
# File 'lib/launchy/detect/runner.rb', line 73

def dry_run( cmd, *args )
  shell_commands(cmd, args).join(" ")
end

#wet_run(cmd, *args) ⇒ Object


77
78
79
# File 'lib/launchy/detect/runner.rb', line 77

def wet_run( cmd, *args )
  Spoon.spawnp( *shell_commands( cmd, args ) )
end