Codex CLI hangs if I close MacBook lid
Open 💬 0 comments Opened Jul 20, 2026 by dprkh
What version of Codex CLI is running?
codex-cli 0.144.6
What subscription do you have?
Pro
Which model were you using?
gpt-5.6
What platform is your computer?
Darwin 25.2.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Ghostty
Codex doctor report
What issue are you seeing?
Type any prompt, close the lid, the model will be stuck "reasoning"
What steps can reproduce the bug?
Close the lid
What is the expected behavior?
Codex CLI works with lid closed
Additional information
This didn't happen before