Hacked By AnonymousFox
�
�܋f � � � d Z ddlZddlmZ ddlmZ d� Z ej ed�� � Z ej ed�� � Z e�
� � e �
� � e� � � e � � � dS ) z8Start Xvfb server and open xmessage window. Thread safe.� N)�EasyProcess)�SmartDisplayc �h � t d�� � 5 }dt | � � g}t ||� � � �� � 5 |� � � }|� d� | � � � � d d d � � n# 1 swxY w Y d d d � � d S # 1 swxY w Y d S )NF)�manage_global_env�xmessage)�envzxmessage{}.png)r �strr r �waitgrab�save�format)�index�disp�cmd�imgs �u/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyvirtualdisplay/examples/threadsafe.py�thread_functionr
s$ � � �� .� .� .� 5�$��3�u�:�:�&�� ��$�(�(�*�*�
-�
-�
-� 5� 5��-�-�/�/�C��H�H�%�,�,�U�3�3�4�4�4� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5���� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5� 5���� 5� 5� 5� 5� 5� 5s5 �5B'�=B�B'�B �B'�B �B'�'B+�.B+)� )�target�args)� )�__doc__� threading�easyprocessr �pyvirtualdisplay.smartdisplayr r �Thread�t1�t2�start�join� � r �<module>r"