Package madgraph :: Package interface :: Module launch_ext_program :: Class ExtLauncher
[hide private]
[frames] | no frames]

Class ExtLauncher

source code

object --+
         |
        ExtLauncher
Known Subclasses:

Generic Class for executing external program

Instance Methods [hide private]
 
__init__(self, cmd, running_dir, card_dir='', **options)
initialize an object
source code
 
run(self)
execute the main code
source code
 
prepare_run(self)
aditional way to prepare the run
source code
 
launch_program(self)
launch the main program
source code
 
edit_file(self, path)
edit a file
source code
 
timeout_fct(self, timeout) source code
 
ask(self, question, default, choices=[], path_msg=None)
nice handling of question
source code
 
treat_input_file(self, filename, default=None, msg='')
ask to edit a file
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  program_dir = ''
  executable = ''
  force = False
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cmd, running_dir, card_dir='', **options)
(Constructor)

source code 

initialize an object

Overrides: object.__init__