예제 #1
0
def start_script(step, opts):
    script = lib.ScriptCls(opts)
    script.prepare()
    script.start()
    lib.world.script = script
예제 #2
0
def stop_script(step, opts):
    script = lib.ScriptCls(opts)
    script.stop()
    lib.world.script = None
예제 #3
0
def has_config(step, config):
    script = lib.ScriptCls('-c %s' % config)
    lib.world.config = script.app.config