
    .Ph{                     .    d dl Z d dlZddlmZ dZddZdS )    N   )ShellDetectionFailurez1.5.4
   c                    t           j        }	 t          j        d                    |          t
                    }n2# t          $ r% d                    |          }t          |          w xY w	 |j        }n0# t          $ r# t          d                    |                    w xY 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          T/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/shellingham/__init__.pydetect_shellr   	   s    7D$&u||D'9'98DD $ $ $=DDTJJ7###$ON		 O O O@GGMMNNNOIcY///E 

!
!!s   -< /A+/A7 7-B$)Nr   )r
   r   _corer   __version__r        r   <module>r      sO        				 ( ( ( ( ( (" " " " " "r   