File manager - Edit - /opt/alt/python312/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc
Back
� R`i�# � �� � d dl Z d dlZd dlZd dlZd dlmZmZmZmZm Z m Z mZmZ d dl mZ d dlmZmZ d dlmZ d dlmZmZ d dlmZ erd dlmZ e eeef Zd eeeef d efd�Zd ee e ef d efd�Zd ee e ef d e e fd �Z ddee e ef dedee dddeee dee eef deee dee dee dee ded efd�Z!ded ed fd�Z"y)� N)� TYPE_CHECKING�Any�Callable�Iterable�List�Mapping�Optional�Union)�escape)�SpinnerInterface�open_spinner)�InstallationSubprocessError)�VERBOSE�subprocess_logger)� HiddenText)�Literal�args�returnc �~ � g }| D ]5 }t |t � r|j |� �%|j |� �7 |S )z& Create a CommandArgs object. )� isinstance�list�extend�append)r �command_args�args ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py�make_commandr sE � � !#�L��� �c�4� �����$� ����$� � �� c �2 � dj d� | D � � S )z/ Format command arguments for display. � c 3 � K � | ]G }t |t � rt j t |� � nt j |� �� �I y �w)N)r r �shlex�quote�str)�.0r s r � <genexpr>z&format_command_args.<locals>.<genexpr>: s<