def run_config(cfstring, param):
    if not cfstring:
        print("No command string defined to run {0}.".format(param), file=sys.stderr)
        return
    try:
        cmd = cfstring % param
    except __HOLE__: # no %s in cfstring, so just stick the param on the end
        cmd = "%s %s" % (cfstring, param)
    print("CMD:", repr(cmd))
    return os.system(cmd)
dataset/ETHPy150Open kdart/pycopia/core/pycopia/devhelpers.py/run_config