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

Support multiple command executions with on_usb_<event>_execute #134

Closed
wants to merge 1 commit into from

Conversation

bil0u
Copy link

@bil0u bil0u commented Nov 20, 2023

As proposed in #133, a quick fix to support multiple command executions with on_usb_<event>_execute.

Happy to discuss alternative options !

@haimgel
Copy link
Owner

haimgel commented Nov 1, 2024

I think it's a bit dangerous to mess with commands in this way without a very, very good reason. The split by semicolon does not take into account possible quoting, escapes, etc., and it's not backwards compatible. A workaround would be to wrap however many commands you might have in a batch file / bash script, etc. So I'm going to reject this.

@haimgel haimgel closed this Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants