Class e.c.l.Launcher(object):

Part of elisa.core.launcher View In Hierarchy

Known subclasses: elisa.core.tests.test_launcher.LauncherMock

No class docstring
Line # Kind Name Docs
51 Method main --> This is where you should start reading the source code <--
75 Method setup_win_output_redirection Undocumented
80 Method set_win_environment_pre_voodoo Undocumented
98 Method main_before_voodoo Undocumented
190 Method main_after_voodoo Undocumented
214 Method set_win_environment_after_voodoo Undocumented
236 Method poke_running_instance Undocumented
244 Method poke_unix_running_instance Undocumented
280 Method poke_win_running_instance Undocumented
316 Method info Undocumented
319 Method error Undocumented
322 Method get_platform Undocumented
326 Method get_environment Undocumented
329 Method get_win_prefix Undocumented
333 Method add_environment_path Undocumented
339 Method run_application Undocumented
369 Method exit Undocumented
def main(self, argv):
--> This is where you should start reading the source code <--

The main entry point is split in two parts: main_before_voodoo() and main_after_voodoo().

The first function does all kinds of black magic to try and load the most recent version of elisa.core. It should be AS MINIMAL AS IT CAN BE and SHOULD NEVER BE MODIFIED. When we ship a new version of the core in ~/.elisa-0.5/plugins, an OLD VERSION OF THE FUNCTION (the one installed in a systemwide path) WILL BE EXECUTED anyway.

The second function does the actual initialization. If main_before_voodoo() is done right (as we're sure it is since I wrote it), the latest available version of main_after_voodoo() will be executed.

Yes, that's right. I'm awesome.

def setup_win_output_redirection(self):
Undocumented
def set_win_environment_pre_voodoo(self):
Undocumented
def main_before_voodoo(self):
Undocumented
def main_after_voodoo(self, argv):
Undocumented
def set_win_environment_after_voodoo(self):
Undocumented
def poke_running_instance(self):
Undocumented
def poke_unix_running_instance(self):
Undocumented
def poke_win_running_instance(self):
Undocumented
def info(self, message):
Undocumented
def error(self, message):
Undocumented
def get_platform(self):
Undocumented
def get_environment(self):
Undocumented
def get_win_prefix(self):
Undocumented
def add_environment_path(self, variable, entries):
Undocumented
def run_application(self):
Undocumented
def exit(self, code):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2008-12-15 12:25:45.