def METHOD_NAME(args, stderr=None, stdout=sp.DEVNULL) -> sp.CompletedProcess:
    try:
        return sp.run(args, stderr=stderr, stdout=stdout, check=True)
    except sp.CalledProcessError as exc:
        cmd = " ".join(map(lambda c: shlex.quote(str(c)), exc.cmd))
        raise click.ClickException(
            f"The following command failed with code {exc.returncode}:\n    {cmd}"
        )