-
Notifications
You must be signed in to change notification settings - Fork 1
disable button while command is running #6
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
Comments
For a lot of my use-cases that doesn't really make sense because the script will only publish a message to trigger something and will not wait. How about a simple solution to disable the button for 3s or something similar? I guess you want some immediate feedback on button click to avoid clicking multiple times. |
Then, I think you can sleep for whatever seconds on your bash script and then return. |
maybe address #5 first |
Please provide a clean patch if you are interested in your behavior. Providing a 3 second cool down was my suggestion for a less cumbersome alternative. |
If this is the case, I am also going with the 3-second cooling suggestion, or maybe setting it in the config how many seconds to set. |
Make the button grey (disable) while the command is running
The text was updated successfully, but these errors were encountered: