Skip to content

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.

@netlify
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