def select_programs(args, filter_paused=True, force=False):

    if not (args.all ^ bool(args.names)):
        if args.all:
            log.error("You may not specify a program name when you use the -a/--all option (See -h/--help for more details)")
        else:
            log.error("You must select at least one program from the command line (See -h/--help for more details)")
        raise  SystemExit(1)

    if args.all:
        programs = list(Program.find_for_user(force=force))
        if filter_paused:
            programs = [prog for prog in programs if not prog.is_paused]

    else:
        programs = [Program(name, force=force) for name in args.names]

    erorrs = 0
    for program in programs:
        if not program.exists():
            erorrs += 1
            log.error("Program '%s' does not exist" % program.name)
    if erorrs:
        raise SystemExit(1)

    return list(programs)
stupid windows. converts the backslash to forwardslash for consistency
dataset/ETHPy150Open Anaconda-Platform/chalmers/chalmers/utils/cli.py/select_programs--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/common/diagnostic/pydevDebug/runfiles.py/PydevTestRunner.__unixify