def default_subprocess_runner(cmd, cwd=None, extra_environ=None):
    """The default method of calling the wrapper subprocess."""
    env = os.environ.copy()
    if extra_environ:
        env.update(extra_environ)

    check_call(cmd, cwd=cwd, env=env)
The default method of calling the wrapper subprocess.
product/gradle-plugin/src/main/python/pip/_vendor/pep517/wrappers.py