r/codex • • Sep 25 '26

Bug CLI post-update woes

After today's update Codex CLI starts up with at least one extra Command Prompt, sometimes two. Also, when working, it seems to regularly spawn temporary Command Prompts it promptly closes.

It's really annoying, what caused this change and is there a way to keep to one CP per Codex instance?

9 Upvotes

8 comments sorted by

6

u/yo_mono Sep 25 '26

Nooo Hank don't abbreviate command prompts like that

0

u/davek1979 Sep 25 '26

I shall resist

4

u/Basic_Competition832 Sep 25 '26

Installing daemon from CLI version 0.157.0 into .codex\packages/app-server-daemon...

Error: host Job Object prevents daemon detachment; start from a host that allows breakaway

To work without the background server, rerun the same command with --no-daemon (including resume or fork and its arguments).

Yes, this is what I received just now.

4

u/zannix Sep 25 '26

How can they ship something like this to production lol. QA? Tests? Hello? Unbeliveable...

3

u/EuMusicalPilot Sep 25 '26

I have these too. Bunch of CMD and node REPL windows appears

2

u/mladenmacanovic Sep 25 '26

happens a lot of times...

2

u/brek001 Sep 25 '26

add to the commandline :--no-daemon
it helps

2

u/YeshilPasha Sep 27 '26

I think this is a Windows only problem. To stop the daemon auto starting add this parameter to config.toml under features. Save and do a computer reboot (or kill the currently running daemon manually in memory):

[features]
  daemon_auto_start = false