File: //opt/alt/python311/lib/python3.11/site-packages/shellingham/__pycache__/__init__.cpython-311.pyc
�
�;f{ � �. � d dl Z d dlZddlmZ dZdd�ZdS )� N� )�ShellDetectionFailurez1.5.4�
c � � t j } t j d� |� � t
� � }n2# t $ r% d� |� � }t |� � �w xY w |j }n0# t $ r# t d� |� � � � �w xY w || |�� � }|r|S t � � �)Nz.{}z)Shell detection not implemented for {0!r}z#get_shell not implemented for {0!r})� max_depth)�os�name� importlib�
import_module�format�__name__�ImportError�RuntimeError� get_shell�AttributeErrorr )�pidr r �impl�messager �shells �G/opt/alt/python311/lib/python3.11/site-packages/shellingham/__init__.py�detect_shellr s� � �
�7�D�$��&�u�|�|�D�'9�'9�8�D�D����� $� $� $�=�D�D�T�J�J���7�#�#�#�$����O��N� � ��� O� O� O��@�G�G��M�M�N�N�N�O�����I�c�Y�/�/�/�E�� ���
�
!�
!�!s �-<