From 5200b7a95ddaa6a2d4a536f21b2cd58911fd5498 Mon Sep 17 00:00:00 2001 From: katyhshi <115659651+katyhshi@users.noreply.github.com> Date: Wed, 10 Sep 2025 10:39:53 -0700 Subject: [PATCH] docs: fix codex exec heading typo (#2703) # External (non-OpenAI) Pull Request Requirements Before opening this Pull Request, please read the "Contributing" section of the README or your PR may be closed: https://github.com/openai/codex#contributing If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes. --- codex-rs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/README.md b/codex-rs/README.md index 390f5d31..043d872a 100644 --- a/codex-rs/README.md +++ b/codex-rs/README.md @@ -35,7 +35,7 @@ npx @modelcontextprotocol/inspector codex mcp You can enable notifications by configuring a script that is run whenever the agent finishes a turn. The [notify documentation](../docs/config.md#notify) includes a detailed example that explains how to get desktop notifications via [terminal-notifier](https://github.com/julienXX/terminal-notifier) on macOS. -### `codex exec` to run Codex programmatially/non-interactively +### `codex exec` to run Codex programmatically/non-interactively To run Codex non-interactively, run `codex exec PROMPT` (you can also pass the prompt via `stdin`) and Codex will work on your task until it decides that it is done and exits. Output is printed to the terminal directly. You can set the `RUST_LOG` environment variable to see more about what's going on.