def defaultCheckCommand(command, status, output, error):
    """Raise an error if the exit status is nonzero"""
    if status:
        raise RuntimeError('Could not execute "%s":\n%s' % (command, output +
            error))
