linux/cuda_installer/os_installers/__init__.py [422:444]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def run(
        command: str,
        check=True,
        input=None,
        cwd=None,
        silent=False,
        environment=None,
        retries=0,
    ) -> subprocess.CompletedProcess:
        """
        Runs a provided command, streaming its output to the log files.

        :param command: A command to be executed, as a single string.
        :param check: If true, will throw exception on failure (exit code != 0)
        :param input: Input for the executed command.
        :param cwd: Directory in which to execute the command.
        :param silent: If set to True, the output of command won't be logged or printed.
        :param environment: A set of environment variable for the process to use. If None, the current env is inherited.
        :param retries: How many times should the command be repeated if it exits with non-zero code.

        :return: CompletedProcess instance - the result of the command execution.
        """
        if not silent:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



linux/install_gpu_driver.py [116:138]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def run(
    command: str,
    check=True,
    input=None,
    cwd=None,
    silent=False,
    environment=None,
    retries=0,
) -> subprocess.CompletedProcess:
    """
    Runs a provided command, streaming its output to the log files.

    :param command: A command to be executed, as a single string.
    :param check: If true, will throw exception on failure (exit code != 0)
    :param input: Input for the executed command.
    :param cwd: Directory in which to execute the command.
    :param silent: If set to True, the output of command won't be logged or printed.
    :param environment: A set of environment variable for the process to use. If None, the current env is inherited.
    :param retries: How many times should the command be repeated if it exits with non-zero code.

    :return: CompletedProcess instance - the result of the command execution.
    """
    if not silent:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



