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

Don't abort if exit code is nonzero #112

Open
TylerJang27 opened this issue Jun 28, 2024 · 0 comments · May be fixed by #113
Open

Don't abort if exit code is nonzero #112

TylerJang27 opened this issue Jun 28, 2024 · 0 comments · May be fixed by #113

Comments

@TylerJang27
Copy link

TylerJang27 commented Jun 28, 2024

Is your feature request related to a problem? Please describe.
Please add a flag (or default behavior) to not error when the --execute command exits with a nonzero status. Right now if I do something like freeze --execute "mkdir .", I get the error:

   ERROR  Something went wrong
                              
  exit status 1

Describe the solution you'd like
Sometimes I want to capture an image output of commands that have a nonzero status.

Describe alternatives you've considered
I've tried doing something like wrapping the execute in bash -c '... || true', but depending on the complexity of the command, sometimes this doesn't work and it isn't very scalable.

Additional context
Love the tool, but would like to see a few more refinements for --execute support!

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 a pull request may close this issue.

1 participant