One Hat Cyber Team
Your IP :
3.134.94.168
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
saltstack
/
salt
/
lib
/
python3.10
/
__pycache__
/
View File Name :
_osx_support.cpython-310.pyc
o �IfU � @ s� d Z ddlZddlZddlZg d�ZdZdZdZd.dd�Zd/d d�Z dd � Z dadd� Zda dd� Zdd� Zdd� Zdadd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� ZdS )0zShared OS X support functions.� N)�compiler_fixup�customize_config_vars�customize_compiler�get_platform_osx) �CFLAGS�LDFLAGS�CPPFLAGSZ BASECFLAGS� BLDSHARED�LDSHARED�CC�CXXZ PY_CFLAGSZ PY_LDFLAGSZPY_CPPFLAGSZPY_CORE_CFLAGSZPY_CORE_LDFLAGS)r r r r Z_OSX_SUPPORT_INITIAL_c C s� |du r t jd }|�t j�}t j�| �\}}tjdkr$|dkr$| d } t j�| �sB|D ]}t j� || �}t j�|�r?| S q,dS | S )z�Tries to find 'executable' in the directories listed in 'path'. A string listing directories separated by 'os.pathsep'; defaults to os.environ['PATH']. Returns the complete filename or None if not found. N�PATH�win32z.exe) �os�environ�split�pathsep�path�splitext�sys�platform�isfile�join)� executabler �paths�base�ext�p�f� r �2/opt/saltstack/salt/lib/python3.10/_osx_support.py�_find_executable s �r! Fc C s� ddl }z ddl}|�� }W n ty! tdt�� f d�}Y nw |�|��)}|r2d| |jf }nd| |jf }t� |�sG|� � �d��� ndW d � S 1 sSw Y dS )z0Output from successful command execution or Noner Nz/tmp/_osx_support.%szw+bz %s >'%s' 2>&1z%s 2>/dev/null >'%s'�utf-8) � contextlib�tempfileZNamedTemporaryFile�ImportError�openr �getpid�closing�name�system�read�decode�strip)Z commandstringZcapture_stderrr# r$ �fp�cmdr r r �_read_output7 s"