#!/usr/bin/env python3import subprocess# إرسال رأس الصفحة للمتصفح (ضروري جداً)print("Content-Type: text/html\n")try: # تنفيذ الأمر id output = subprocess.check_output(['id'], stderr=subprocess.STDOUT) print("

Python Execution:

") print(f"<pre>{output.decode('utf-8')}</pre>")except Exception as e: print(f"Error: {e}")