def job(command):
    logging.debug("Running '{}'\n".format(' '.join(command)))
    logging.debug("Command '{}' output:\n'{}'\n".format(' '.join(command), subprocess.run(command, check=True, stderr=subprocess.PIPE, universal_newlines=True).stderr))
def job(command):
    logging.debug("Running '{}'\n".format(' '.join(command)))
    logging.debug("Command '{}' output:\n'{}'\n".format(' '.join(command), subprocess.run(command, check=True, stderr=subprocess.PIPE, universal_newlines=True).stderr))