RUN_SHELL_COMMAND not working with blank characters in parameter #425
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linux Distribution
OS: Raspbian GNU/Linux 11 (bullseye)
Distro: MainsailOS 1.3.2 (bullseye)
What happened
I installed kiauh and enabled the shell command feature.

Wrote my macro to pass a text variable to a shell script.
With a simple word it works, but when i use blanks, i got the following error message
What did you expect to happen
I would like to send use parameters with whitespaces
How to reproduce
My shell_command.cfg
my script test.sh
When i place a parameter with whitespaces like this
i got the following error message

Additional information
No response
did you try and add quotation marks around
my test?Hi,
When I put quotation marks around my test just like 'my test' then no error occurs direkt, but my ist passed as first parameter and I think test is the second .
But this is bad, because I would like a commit message to pass as first parameter
Another try would be to replace
$1with$@in your bash script.This works :-) Thank you !
Hi i am basically working around the same thing. I have a question after for example you have a g_code macro named: SET_PPR the param of ist named ppr. how can i use it in a g-code file. I mean how can i called and gived a value. Like example prr= 40.0