Open albfan opened 3 hours ago
There're several solutions:
For the @Q parameter transformation:
The expansion is a string that is the value of parameter quoted in a format that can be reused as input.
This requires to use eval, like eval "${@@Q}". Evaluate if passing this argument initially might solve all cases without using eval
complex commands (like arguments with spaces) fail execution on mac.
Is not due to mac itself but due to use of sudo su - $USER -c "command $@"