def run_subprocess()

in build.py [0:0]


def run_subprocess(args, cwd=None):
    if isinstance(args, str):
        raise ValueError("args should be a sequence of strings, not a string")

    return subprocess.run(args, cwd=cwd, shell=False, check=True)