| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pyvirtualdisplay/examples/ |
| Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pyvirtualdisplay/examples/lowres.py |
"Testing gnumeric on low resolution."
from easyprocess import EasyProcess
from pyvirtualdisplay import Display
# start Xephyr
with Display(visible=True, size=(320, 240)) as disp:
# start Gnumeric
with EasyProcess(["gnumeric"]) as proc:
proc.wait()