-
-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Milestone
Description
Describe the bug
If plugin contains below line:
echo "--delete | bash=test.sh terminal=true param1=_update param2='$name'"
The terminal will show syntax error
if $name
is abc(123)
To Reproduce
Steps to reproduce the behavior:
- put above line in test plugin
- click "delete" button
- terminal show syntax error
Expected behavior
params should be passed to bash script correctly (in quote?)
Environment:
- macOS version: 13.2 (22D49)
- SwiftBar version: 1.5.0
Plugin Example:
#!/bin/bash
name='abc(123)'
echo test
echo ---
echo test
echo "--delete | bash=test.sh terminal=true param1=_update param2=id param3=delete param4='$name'"
Additional Context:
when name='abc (123)'
(a space in it), the code works, but not when abc(123)
- I don't run Bartender/Dozer/etc. or tested the issue without it running
Metadata
Metadata
Assignees
Labels
No labels