-
-
Notifications
You must be signed in to change notification settings - Fork 892
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
return value #599
Comments
Given asciinema itself finished without errors, finished recording successfully, I think the current behaviour is not too bad. But it really depends on what one expects here. What do you think of an option, e.g. |
Yes, it would be great to add one option so that no breaking changes would made to fix this |
I know that some cli tools have an option to "transfer" exit codes depending on what happens inside of the application.
https://jqlang.github.io/jq/manual/ Another example is curl with their
I can see the appeal for CI stuff maybe?! |
Many good ideas there, thanks. I see 2 options: a) forward exit code from the recorded shell/command as is (like script does), I'm leaning towards a) but I'm open to all ideas. |
I really like option a.) as well! |
Describe the bug
A clear and concise description of what the bug is.
When the program triggered by asciinema exit with non-zero value, asciinema returns zero
To Reproduce
Expected behavior
return non-zero when triggered program exit code non-zero
Versions:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: