[BUG] env vars in Bash environment

Resolved 💬 3 comments Opened Nov 24, 2025 by lee101 Closed Nov 28, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

<img width="502" height="76" alt="Image" src="https://github.com/user-attachments/assets/db56a77c-e1b8-4dac-a04f-4265e1072e5e" />i notice it had some trouble with bash env vars here i think it should be able to work it just retried and got it fine here but yea should have worked first time id say with PAPER=1 python somecmd.py

What Should Happen?

should work first time without export ENVVAR

Error Messages/Logs

Steps to Reproduce

ask claude to run command w env vars

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

asdf

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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