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 exec() method which does not capture output #3

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Conversation

linkdd
Copy link
Owner

@linkdd linkdd commented Jul 24, 2023

Decision Record

The run() method captures stdout and stderr by default and will ignore errors, to return an object with the exit code and captured outputs.

In CI/CD scripts, we might want to simply execute the command, not capturing the output, and raise whenever an error occurs.

Changes

  • ✨ Add exec() method which does not capture output and raise on errors

@linkdd linkdd self-assigned this Jul 24, 2023
@linkdd linkdd merged commit 995f9b5 into main Jul 24, 2023
1 check passed
@linkdd linkdd deleted the exec-no-capture branch July 24, 2023 12: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.

None yet

1 participant