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

Handle non-zero exit codes when termination is initiated by user #85

Closed
0xbrayo opened this issue Feb 18, 2025 · 1 comment
Closed

Handle non-zero exit codes when termination is initiated by user #85

0xbrayo opened this issue Feb 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@0xbrayo
Copy link
Member

0xbrayo commented Feb 18, 2025

If a module is terminated via the tray menu, the modules should not be restarted automatically even if it exits with a non-zero error.
I had the non-zero exit bug on aw-watcher-lastfm too, it's common and expected if the program is running a loop that is expected to never exit. Can't count on all modules to handle this edge case correctly.

ActivityWatch/aw-server-rust#502

@0xbrayo 0xbrayo added the bug Something isn't working label Feb 21, 2025
@0xbrayo
Copy link
Member Author

0xbrayo commented Feb 22, 2025

implemented in #98

@0xbrayo 0xbrayo closed this as completed Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant