codex process title shows as "node", should probably be "codex"

Open 💬 3 comments Opened Mar 19, 2026 by haraschax

This patch fixes:
```diff
diff --git a/codex-cli/bin/codex.js b/codex-cli/bin/codex.js
index 67ab3e2d9..3e0f8570e 100755
--- a/codex-cli/bin/codex.js
+++ b/codex-cli/bin/codex.js
@@ -7,6 +7,9 @@ import { createRequire } from "node:module";
import path from "path";
import { fileURLToPath } from "url";

+process.title = "codex";
+
// __dirname equivalent in ESM
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
```

see in image below my tmux pane one is stock codex. Pane 2 is clode. And pane 3 is my codex fork with the applied patch

<img width="800" height="490" alt="Image" src="https://github.com/user-attachments/assets/c9f36536-6a42-4c10-b06f-aafb10537952" />

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗