In this case, the hotkey replacement string should not be expanded (or it should be disallowed) in the command because it's inconvenient for the called program:
The hotkey name and the command filename arguments would have to be differentiated somehow
Each replacement string pair of a hotkey and its command would have to be matched somehow
Both of these are unlikely to be possible without special shell code, so a shell must be used. If the command cared, the passed filenames for the command texts should have a basename that is the same as the hotkey anyway.
Syntax:
"-cmd" ... "+"
(like-exec
forfind
).In this case, the hotkey replacement string should not be expanded (or it should be disallowed) in the command because it's inconvenient for the called program:
Both of these are unlikely to be possible without special shell code, so a shell must be used. If the command cared, the passed filenames for the command texts should have a basename that is the same as the hotkey anyway.