Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rawExec): add custom data listeners support #34066

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Gabriel-Ladzaretti
Copy link
Collaborator

Changes

rawExec is used as a library function in multiple places by us. This PR enables registering custom data listeners for the child process's stdout and stderr streams, allowing real-time processing in the parent process.

Note, This change is not suppose to affect the cli in anyway.

Context

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

rarkins
rarkins previously approved these changes Feb 6, 2025
lib/util/exec/common.ts Outdated Show resolved Hide resolved
+

make outputListeners part of opts
@rarkins rarkins added this pull request to the merge queue Feb 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 7, 2025
@rarkins rarkins enabled auto-merge February 7, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants