-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Codex can't run echo $env:PATH #14015
Copy link
Copy link
Open
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingtool-callsIssues related to tool callingIssues related to tool callingwindows-osIssues related to Codex on Windows systemsIssues related to Codex on Windows systems
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingtool-callsIssues related to tool callingIssues related to tool callingwindows-osIssues related to Codex on Windows systemsIssues related to Codex on Windows systems
Type
Fields
Give feedbackNo fields configured for issues without a type.
What version of Codex CLI is running?
codex-cli 0.111.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.4
What platform is your computer?
No response
What terminal emulator and version are you using (if applicable)?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
I just asked a basic question about my environment and all commands it tried seemed to fail, even down to the simplest
echo $env:PATH.What steps can reproduce the bug?
Uploaded thread: 019ccff6-be83-7ab1-a4a2-226f010ae5bb
What is the expected behavior?
Not only should these not fail, but they shouldn't hang if they don't work.
A human knows that if they run
echo $env:PATHit will almost certainly be done in a second, and if it isn't, a human is smart enough to know that something fishy is going on and thus abort the attempt. AI should be able to as well. If the harness said to the LLM "hey you ranecho $env:PATH10 seconds ago and it hasn't returned yet, you wanna wait or kill it?" I'm pretty sure you'd get a smart answer out of the LLM.With any attempt at running a command, the LLM could provide a 'check-in' time. Not quite a timeout, but an opportunity to decide whether to wait another n seconds or kill it and try something else (perhaps with partial results if the command results in some stream of output).
Additional information
No response