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

Add stdout and stderr fields to container exec result #874

Merged
merged 9 commits into from
Nov 25, 2024

Conversation

chungjung-d
Copy link
Contributor

Add stderr output for exec function on issue #842

I chose not to add an outputMode option to the existing exec function because it would compromise the integrity of the current ExecResult type. Instead, I implemented a new execVerbose function to provide separate handling and output for stdout and stderr.

Copy link

netlify bot commented Nov 24, 2024

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit ba36f28
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-node/deploys/67447f0478e9ee00087d979a
😎 Deploy Preview https://deploy-preview-874--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Nov 24, 2024
@cristianrgreco
Copy link
Collaborator

@chungjung-d Pls run an npm run format.

@cristianrgreco cristianrgreco changed the title Add stderr output for exec function Add stdout and stderr fields to container exec result Nov 25, 2024
@cristianrgreco
Copy link
Collaborator

Thanks @chungjung-d !

@cristianrgreco cristianrgreco merged commit 686a8c6 into testcontainers:main Nov 25, 2024
167 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Backward compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants