
    *f                          d dl Z d dlZd Zd Zy)    Nc                     | dg}t        j                  |t         j                  t         j                  d      }|j                         \  }}|j	                  dd      }|S )Nz-helpF)stdoutstderrshellzutf-8ignore)
subprocessPopenPIPEcommunicatedecode)programcmdp_r   helptexts         R/var/www/html/flask-app/venv/lib/python3.12/site-packages/pyvirtualdisplay/util.pyget_helptextr      sX    G
C 			A IAv}}Wh/HO    c                  (    t         j                  dk(  S )Ndarwin)sysplatform r   r   platform_is_osxr      s    <<8##r   )r   r   r   r   r   r   r   <module>r      s     
($r   