관리-도구
편집 파일: subprocess.cpython-311.pyc
� �Dg# � �8 � d dl Z d dlZd dlZd dlZd dlmZmZmZmZm Z m Z mZmZ d dl mZ d dlmZmZ d dlmZ d dlmZmZ d dlmZ eeeef Zdeeeef d efd �Zdeee ef d efd�Zdeee ef d ee fd�Z d deee ef dedee dddeee dee eef deee dee dee dee ded efd�Z ded ed fd�Z!dS )!� N)�Any�Callable�Iterable�List�Literal�Mapping�Optional�Union)�escape)�SpinnerInterface�open_spinner)�InstallationSubprocessError)�VERBOSE�subprocess_logger)� HiddenText�args�returnc � � g }| D ]B}t |t � � r|� |� � �-|� |� � �C|S )z& Create a CommandArgs object. )� isinstance�list�extend�append)r �command_args�args �~/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/utils/subprocess.py�make_commandr sb � � !#�L�� %� %�� �c�4� � � %�����$�$�$�$� ����$�$�$�$��� c �@ � d� d� | D � � � � S )z/ Format command arguments for display. � c 3 � K � | ]N}t |t � � r!t j t |� � � � nt j |� � V � �Od S )N)r r �shlex�quote�str��.0r s r � <genexpr>z&format_command_args.<locals>.<genexpr>+ sd � � � � � �� ",�C��!<�!<�R���C��H�H����%�+�c�BR�BR�� � � � � r )�join�r s r �format_command_argsr) "