Hacker News new | ask | show | jobs
by sgc 50 days ago
You can absolutely do that by using subprocess.run, or use the codex sdk

https://github.com/openai/codex/tree/main/sdk/python