관리-도구
편집 파일: subprocess.cpython-312.pyc
� G��e�# � �� � 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-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py�make_commandr sJ � � !#�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<