ragtag_utilities/utilities.py
def run(cmd):
    """ Run a command and report the status. """
    if not isinstance(cmd, list):
        raise TypeError("'run' expects a list")

    log("INFO", "Running: %s" % " ".join(cmd))
    if subprocess.call(cmd) != 0:
        raise RuntimeError("Failed : %s" % " ".join(cmd))
    log("INFO", "Finished running : %s" % " ".join(cmd))
 Run a command and report the status. 
Run a command and report the status.
Run a command and report the status .
def run(cmd):
    if not isinstance(cmd, list):
        raise TypeError("'run' expects a list")
    log("INFO", "Running: %s" % " ".join(cmd))
    if subprocess.call(cmd) != 0:
        raise RuntimeError("Failed : %s" % " ".join(cmd))
    log("INFO", "Finished running : %s" % " ".join(cmd))
def run ( cmd ) : if not isinstance ( cmd , list ) : raise TypeError ( "'run' expects a list" ) log ( "INFO" , "Running: %s" % " " . join ( cmd ) ) if subprocess . call ( cmd ) != 0 : raise RuntimeError ( "Failed : %s" % " " . join ( cmd ) ) log ( "INFO" , "Finished running : %s" % " " . join ( cmd ) )
Run a command and report the status.
Run a command and report the status .
""" Run a command and report the status. """
cmd