<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def runner_from_path(cmd, config):
 """Simple command line runner that expects a bash cmd in the PATH. This makes Picard tools back compatible with new approach of a single jar + bash script. """

    if cmd.endswith("picard"):
        return PicardCmdRunner(cmd, config)
    else:
        raise ValueError("Do not support PATH running for %s" % cmd)