claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[FEATURE] Ability to stream bash command output

Open JakobBruenker opened this issue 5 months ago • 3 comments

When you run a bash command, you only see the output once it's completely done.

Oftentimes, Claude Code runs a command for me where I know I can terminate it prematurely if I get a certain output. But currently, I can't do that, since the output is only visible at the very end.

It would be very helpful if the output was displayed as the command produces it (or rather part of the output; with the complete output being available with Ctrl+R)

JakobBruenker avatar Jun 17 '25 22:06 JakobBruenker

We need something. I'm canceling and asking, "What just happened?"

jshay21 avatar Jun 18 '25 15:06 jshay21

workaround - ask claude to add "| tee ~/claude.log" to all commands run so you can follow the bash commands with:

tail -f ~/claude.log

aceslick911 avatar Jun 25 '25 03:06 aceslick911

There are so many things to "just add" to commands. It would be great if this was builtin functionality.

lukidoescode avatar Jun 29 '25 12:06 lukidoescode

I need this for our corporate 2FA app. Some command will prompt with a number, and I need to enter that number into the 2FA app to continue. Without being able to see the number there is no way to complete the login.

tdterry avatar Jul 03 '25 17:07 tdterry

Looks like this has been implemented! (as of 1.0.53)

JakobBruenker avatar Jul 16 '25 09:07 JakobBruenker

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 05 '25 14:08 github-actions[bot]