관리-도구
편집 파일: subprocess.cpython-38.pyc
U ʗRe�# � @ sx d dl Z d dlZd dlZd dlZd dlmZmZmZmZm Z m Z mZmZ d dl mZ d dlmZmZ d dlmZ d dlmZmZ d dlmZ er�d dlmZ e eeef Zeeeef ed �d d�Zee e ef ed �dd �Zee e ef e e d �dd�Zdee e ef eee deee ee eef eee ee ee ee eed�dd�Z!eed d�dd�Z"dS )� N)� TYPE_CHECKING�Any�Callable�Iterable�List�Mapping�Optional�Union)�escape)�SpinnerInterface�open_spinner)�InstallationSubprocessError)�VERBOSE�subprocess_logger)� HiddenText)�Literal)�args�returnc G s2 g }| D ]$}t |t�r"|�|� q|�|� q|S )z& Create a CommandArgs object. )� isinstance�list�extend�append)r �command_args�arg� r ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/utils/subprocess.py�make_command s r c C s d� dd� | D ��S )z/ Format command arguments for display. � c s s0 | ](}t |t�rt�t|��nt�|�V qd S )N)r r �shlex�quote�str��.0r r r r � <genexpr>: s �z&format_command_args.<locals>.<genexpr>)�join�r r r r �format_command_args1 s �r&