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

trap without args should print traps #2198

Open
andychu opened this issue Dec 19, 2024 · 0 comments
Open

trap without args should print traps #2198

andychu opened this issue Dec 19, 2024 · 0 comments

Comments

@andychu
Copy link
Contributor

andychu commented Dec 19, 2024

I ran into this in some real-world code of mine; I have an "atexit" library I use, and as a sanity check, it greps for EXIT in the output of trap; this is not perfect, in that it can have false-positives, but I like that better than stomping on another EXIT handler.

Originally posted by @jasom in #1881 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant