def start_script(step, opts): script = lib.ScriptCls(opts) script.prepare() script.start() lib.world.script = script
def stop_script(step, opts): script = lib.ScriptCls(opts) script.stop() lib.world.script = None
def has_config(step, config): script = lib.ScriptCls('-c %s' % config) lib.world.config = script.app.config