Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@iclectic
Copy link
Contributor

Since #186, users wait until processes finish before seeing output. This uses tee with process substitution to stream live whilst maintaining separate stdout/stderr capture.

  • Live output to console in real-time
  • Stdout/stderr still captured separately
  • Existing processing unchanged

Testing confirms both streaming and separation work correctly.

@iclectic iclectic requested review from a team as code owners August 20, 2025 15:02
@google-cla
Copy link

google-cla bot commented Aug 20, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@sethvargo
Copy link
Contributor

Hey @iclectic this is a good fix, thank you. However, we've gotten feedback that we shouldn't print output at all, since it's possible to trick the LLM into revealing information in the logs like secrets.

@jerop jerop linked an issue Aug 20, 2025 that may be closed by this pull request
leehagoodjames pushed a commit to leehagoodjames/run-gemini-cli that referenced this pull request Aug 20, 2025
…hub-actions#207)

This feels like a reasonable compromise between having no output at all.

- Closes google-github-actions#203 (thanks @iclectic, your commit is in this PR)
- Fixes google-github-actions#189

---------

Co-authored-by: iclectic <[email protected]>
Co-authored-by: Ibim Braide <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Stream gemini CLI output

2 participants