Chained commands with quoted `&&` operator result in `(no output)`

Resolved 💬 6 comments Opened Nov 19, 2025 by kk-code-lab Closed Nov 20, 2025
💡 Likely answer: A maintainer (dylan-hurd-oai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.60.1

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

• Ran cd /foo/bar/libadwaita '&&' git --no-pager log -5 --oneline
  └ (no output)

• Ran cd /foo/bar/libadwaita '&&' pwd '&&' git log -5 --oneline
  └ (no output)

• Ran pwd
  └ /foo/bar/libadwaita

• Ran cd /foo/bar/libadwaita '&&' echo hi
  └ (no output)

• Ran echo hi '&&' echo there
  └ hi && echo there

• Ran echo hi && echo there
  └ hi
    there

• Ran cd /foo/bar/libadwaita && git log -5 --oneline
  └ d4ed92ab Revert "combo-row: Allow selecting items via touchscreen"
    33fe38db Update Russian translation
    bfebd592 Add Serbian (Latin) translation
    e9452986 Update Serbian translation
    55e1e5e8 Update Japanese translation

What steps can reproduce the bug?

Uploaded thread: 019a9e11-477b-7912-a8ab-023e47242819

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

6 Comments

originell · 9 months ago

I also see this happening with 0.59.0

<img width="788" height="194" alt="Image" src="https://github.com/user-attachments/assets/29bda923-84d7-4ca2-8f37-f498ddfcd870" />

<img width="515" height="127" alt="Image" src="https://github.com/user-attachments/assets/c0d97920-238f-46dc-bab1-548670b9c050" />

dylan-hurd-oai contributor · 9 months ago

Should be fixed by #6948 - @originell or @kk-code-lab can you try upgrading to the latest alpha? v0.61.0-alpha.3

tekacs contributor · 9 months ago

Can confirm that I was experiencing this issue and this change fixes it (I had applied the same fix locally and found this before opening a PR).

kk-code-lab · 9 months ago
Should be fixed by #6948 - @originell or @kk-code-lab can you try upgrading to the latest alpha? v0.61.0-alpha.3

All good now. Working as expected on v0.61.0-alpha.3

originell · 9 months ago

can also confirm that its fixed now on my end! (0.61.0-alpha.3)

<img width="469" height="121" alt="Image" src="https://github.com/user-attachments/assets/e71df143-35bf-43b4-948a-ad2f418ddb6f" />

etraut-openai contributor · 9 months ago

Thanks for the confirmation! Closing the issue.