AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/setuptools/_distutils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/setuptools/_distutils/__pycache__/spawn.cpython-310.pyc
o

�_�a�
�@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�|��|rdS|r t|d�}|dur ||d<|dur&|nttj�}t	j
dkrAddlm}m
}|�}|rA|||<ztj||d�}	|	��|	j}
Wntyo}zts_|d}td||jdf�|�d}~ww|
r�tsx|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�
subprocess�list2cmdline�find_executable�dict�os�environ�sys�platform�distutils.utilrr	�Popen�wait�
returncode�OSErrorrr�args)�cmd�search_path�verbose�dry_runr
�
executablerr	�macosx_target_ver�proc�exitcode�exc�r%�=/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py�spawnsF

����
��r'c	Cs�tj�|�\}}tjdkr|dkr|d}tj�|�r|S|durBtj�dd�}|durBzt�d�}Wnt	t
fyAtj}Ynw|sFdS|�tj
�}|D]}tj�||�}tj�|�ra|SqNdS)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.
    �win32z.exeN�PATH�CS_PATH)r�path�splitextrr�isfiler�get�confstr�AttributeError�
ValueError�defpath�split�pathsep�join)r r+�_�ext�paths�p�fr%r%r&rHs,
��r)rrrN)N)
�__doc__rrr�distutils.errorsrr�distutils.debugr�	distutilsrr'rr%r%r%r&�<module>s
6

Anon7 - 2022
AnonSec Team