Files
ppgen/pwgen.cgi
2025-12-10 13:38:11 +11:00

12 lines
277 B
Python
Executable File

#!/usr/bin/env python3
import os
import runpy
# Directory this CGI script lives in
here = os.path.dirname(__file__)
# Path to the real script
script = os.path.join(here, "pwgen.py")
# Execute ppgen.py as if it were the main script
runpy.run_path(script, run_name="__main__")