Lightweight coding agent that runs in your terminal
Rust
docs: fix codex exec heading typo (#2703)
katyhshi5200b7a95dda
diff --git a/codex-rs/README.md b/codex-rs/README.mdindex 390f5d31aa..043d872afe 100644--- a/codex-rs/README.md+++ b/codex-rs/README.md@@ -35,7 +35,7 @@ npx @modelcontextprotocol/inspector codex mcpYou 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-interactivelyTo 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.