+
    wi                     j    R t ^ RIt^ RIt^ RIt^ RIt^ RIHt ]P                  ! ]4      t	RR R llt
R# )z;
POSIX-specific functionality for stdio client operations.
N)Processc                4    V ^8  d   QhR\         R\        RR/# )   processtimeout_secondsreturnN)r   float)formats   "J/home/ubuntu/.local/lib/python3.14/site-packages/mcp/os/posix/utilities.py__annotate__r      s'     -B -B -B% -BZ^ -B    c                  "   \        V RR4      ;'       g    \        \        V RR4      RR4      pV'       g   R#  \        P                  ! V4      p\        P                  ! V\        P
                  4       \        P                  ! V4      ;_uu_ 4          \        P                  ! V^ 4       \        P                  ! R4      G Rj  xL
  K9   L  \         d     RRR4       R# i ; i  + '       g   i     M; i \        P                  ! T\        P                  4       R#   \         d     R# i ; i  \        \        \        3 Ed    p\        P                  RT RT R24        T P                  4        \        P                   ! T4      ;_uu_ 4        T P#                  4       G Rj  xL 
  RRR4        Rp?R#   + '       g   i      Rp?R# ; i  \$         db    \        P                  RT R	24        T P'                  4          Rp?R#   \$         d"    \        P)                  R
T 24          Rp?R# i ; ii ; iRp?ii ; i5i)z
Terminate a process and all its children on POSIX systems.

Uses os.killpg() for atomic process group termination.

Args:
    process: The process to terminate
    timeout_seconds: Timeout in seconds before force killing (default: 2.0)
pidNpopeng?z)Process group termination failed for PID z: z", falling back to simple terminatez#Process termination failed for PID z, attempting force killzFailed to kill process )getattrosgetpgidkillpgsignalSIGTERManyiomove_on_aftersleepProcessLookupErrorSIGKILLPermissionErrorOSErrorloggerwarning	terminate
fail_afterwait	Exceptionkill	exception)r   r   r   pgides   &&   r
   terminate_posix_process_treer'      s     '5$
'
`
`777GT3RTY[_+`C 	Bzz#
		$'  11IIdA&++c***)  21 21	IIdFNN+! 		 9 BB3%r!Lnop		B!!/22lln$$ 32222 	BNN@E\]^B B  #:3%!@AAB		BBs$  5IIAD7 C*0CCCC*CC'C*D7 $I&C''C**C:	5D7 >%D% #I%D40D7 1I3D44D7 7II+.GG-F0
.G3G;IGGIG$I>HII#I8I9I:I IIIII)g       @)__doc__loggingr   r   r   	anyio.abcr   	getLogger__name__r   r'    r   r
   <module>r.      s7     	   			8	$-B -Br   