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
documentation is confusing around exit codes #29
Comments
(Apologies for the incomplete first version of the issue, I hit some wrong keys.) |
You are right, after some cleanup
I'll first try to determine why I thought it should be |
I think it make sense to change the documentation to reflect the current behavior. It seems that most unix utilities do not override the signal exit code
This means the only time |
Thanks again @robx for writing a ticket on this topic. In commit 2741bd1 I made the following changes
Other signals are use default handling |
Thanks for looking into this! (And more importantly, making the tool in the first place.) Sounds like a reasonable fix. |
These adjustments were included in the newly minted 4.5 release |
<comment deleted, I should just raise as a separate issue: see #53> |
The man page states that
entr
exits with status code 0 on SIGINT, but it seems it does the right thing (?) instead and exits with 130.Compare discussion here: https://lobste.rs/s/j9qfxm/entr_1_event_notify_test_runner#c_vxwtmi
The backstory is I ran into issue #19 while trying to watch for new files using the example while loop from the man page:
The text was updated successfully, but these errors were encountered: