Class: XPCOMCore::CommandParser::LaunchCommand::DarwinLauncher

Inherits:
BaseLauncher
  • Object
show all
Defined in:
lib/xpcomcore-rubygem/commands/launch.rb

Overview

BaseLauncher

Constant Summary collapse

StubLocationRelativeToIni =
"../../stub_runners/%s.app"

Instance Method Summary collapse

Methods inherited from BaseLauncher

#initialize

Constructor Details

This class inherits a constructor from XPCOMCore::CommandParser::LaunchCommand::BaseLauncher

Instance Method Details

#launchObject



47
48
49
50
51
52
53
54
55
# File 'lib/xpcomcore-rubygem/commands/launch.rb', line 47

def launch
  super
  xre_location = send(:"locate_#{@options[:runner_type]}")
  if stub_location = find_stub
    launch_from_stub(xre_location, stub_location)
  else
    launch_xre(xre_location)
  end
end