Ejemplo n.º 1
0
def run(launchfile, *args):
    result = execute_command(pal_path.get_launch_path(launchfile), *args)
    if result != 0:
        raise LaunchError(launchfile, launchfile, result)
Ejemplo n.º 2
0
def start(component, *params):
    launchfile = '%sStart.sh' % component
    process = spawn_command(pal_path.get_launch_path(launchfile), *params)
    if process is None:
        raise LaunchError(component, launchfile, '[execution failed]')
Ejemplo n.º 3
0
def stop(component):
    launchfile = '%sStop.sh' % component
    process = spawn_command(pal_path.get_launch_path(launchfile))
    if process is None:
        raise LaunchError(component, launchfile, '[execution failed]')
Ejemplo n.º 4
0
def run(launchfile, *args):
    result = execute_command(pal_path.get_launch_path(launchfile), *args)
    if result != 0:
        raise LaunchError(launchfile, launchfile, result)
Ejemplo n.º 5
0
def stop(component):
    launchfile = '%sStop.sh' % component
    result = execute_command(pal_path.get_launch_path(launchfile))
    if result != 0:
        raise LaunchError(component, launchfile, result)
Ejemplo n.º 6
0
def stop(component):
    launchfile = '%sStop.sh' % component
    process = spawn_command(pal_path.get_launch_path(launchfile))
    if process is None:
        raise LaunchError(component, launchfile, '[execution failed]')
Ejemplo n.º 7
0
def start(component, *params):
    launchfile = '%sStart.sh' % component
    process = spawn_command(pal_path.get_launch_path(launchfile), *params)
    if process is None:
        raise LaunchError(component, launchfile, '[execution failed]')
Ejemplo n.º 8
0
def stop(component):
    launchfile = '%sStop.sh' % component
    result = execute_command(pal_path.get_launch_path(launchfile))
    if result != 0:
        raise LaunchError(component, launchfile, result)